GeeCON Prague 2014*
The moose likes Spring and the fly likes No AuthenticationEntryPoint could be established Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Spring
Bookmark "No AuthenticationEntryPoint could be established" Watch "No AuthenticationEntryPoint could be established" New topic
Author

No AuthenticationEntryPoint could be established

Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 237
Hi All,
every time I deploy my application war, the following error appears:-

Internal error raised tyring to instantiate web-application: SportsDemo defined in web site OC4J 10g (10.1.3) Default Web Site. Configuration problem: No AuthenticationEntryPoint could be established. Please make sure you have a login mechanism configured through the namespace (such as form-login) or specify a custom AuthenticationEntryPoint with the 'entry-point-ref' attribute

My applicationContext_security.xml file contains the following:-



Has anbody seen this error before and how to resolve it

Mat
Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 237
Hi All,
I have updated applicationContext_security.xml to contain an entry-point-ref


But I still keep getting the following error:-

Configuration problem: No AuthenticationEntryPoint could be established. Please make sure you have a login mechanism configured through the namespace (such as form-login) or specify a custom AuthenticationEntryPoint with the 'entry-point-ref' attribute

I'm new to spring 3 security, has anybody seen this problem before.

Mat
Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 237
Ok I solved this problem with the following:-


Mat
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

So what was wrong?


===Vyas Sanzgiri===
My Blog
 
GeeCON Prague 2014
 
subject: No AuthenticationEntryPoint could be established