Home

Add a comment

 

Re: GlassFish 3 In 30 Minutes

The ZIP doesn't contain any role mappings in the sun deployment descriptor. So the app doesn't deploy. To get around this, either specify role mappings to the principals in the deployment descriptor, or, enable the "default principal to role mapping, on the main security page of the admin console. The domain.xml file gets an additional attribute (activate-default-principal-to-role-mapping): <security-service default-realm="admin-realm" activate-default-principal-to-role-mapping="true"> The docs describe this: Default Principal To Role Mapping Select to apply a default principal to role mapping to any application that does not have an application specific mapping defined. This setting applies ONLY at time of deployment and will not affect previously deployed application.

Re: GlassFish 3 In 30 Minutes


Title
Body
HTML : b, strong, i, em, blockquote, br, p, pre, a href="", ul, ol, li, sub, sup
Name
E-mail address
Website
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).