Hi There, have you found a solution for this as I am experiencing the same
issue. When I login, the server implies that the login was successful,
however I am then given the 403 error page.
Thanks.
glassfish wrote:
>
> I have created the simpleCustomRealm example and deployed to SJAP 9.1 and
> everything works as it is supposed to. I have created a simple app with a
> web.xml that looks like
> <login-config>
> <auth-method>BASIC</auth-method>
> <realm-name>WebRealm</realm-name>
> </login-config>
> <security-constraint>
> <display-name>SecurityConstraint1</display-name>
> <web-resource-collection>
> <web-resource-name>TestAccess</web-resource-name>
> <url-pattern>/*</url-pattern>
> </web-resource-collection>
> <auth-constraint>
> <role-name>users</role-name>
> </auth-constraint>
> </security-constraint>
> On First deploy of the app the login box comes up and I can log into
> application but a http 403 error comes up after login. In the domain log
> it says that login was sucessful but I keep getting the 403 error. When I
> restart, redeploy, and even rename the context the login box never comes
> back up and it goes directly to the 403 error screen but the domain log
> says the login was successful. Anyone have any suggestions. Thanks in
> advance.
> [Message sent by forum member 'kenbarnesjr' (kenbarnesjr)]
>
> http://forums.java.net/jive/thread.jspa?messageID=279932
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>
--
View this message in context: http://www.nabble.com/Custom-Realm-Example-http-403-tp17799358p18499775.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.