[prev in list] [next in list] [prev in thread] [next in thread]
List: geronimo-user
Subject: Re: issue deploying webapp with security realm
From: ttiurani <timo.tiuraniemi () iki ! fi>
Date: 2010-06-07 14:31:42
Message-ID: 1275921102894-876453.post () n3 ! nabble ! com
[Download RAW message or body]
Ivan Xu wrote:
>
> Sorry, I forgot to mention it in the last email, you might need to add a
> global gbean attribute for realm.
> <dep:attribute name="global">true</dep:attribute>
>
Thanks again Ivan! This configuration file now works for G2.2.:
<dep:gbean name="MySecurityRealm"
class="org.apache.geronimo.security.realm.GenericSecurityRealm"
xsi:type="dep:gbeanType"
xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<dep:attribute name="realmName">MySecurityRealm</dep:attribute>
<dep:attribute name="global">true</dep:attribute>
<dep:reference name="ServerInfo">
<dep:name>ServerInfo</dep:name>
</dep:reference>
<dep:xml-reference name="LoginModuleConfiguration">
<log:login-config
xmlns:log="http://geronimo.apache.org/xml/ns/loginconfig-2.0">
<log:login-module control-flag="REQUIRED"
wrap-principals="false">
<log:login-domain-name>
MySecurityRealm
</log:login-domain-name>
<log:login-module-class>
org.test.MyLoginModule
</log:login-module-class>
</log:login-module>
</log:login-config>
</dep:xml-reference>
</dep:gbean>
-- Timo
--
View this message in context: \
http://apache-geronimo.328035.n3.nabble.com/issue-deploying-webapp-with-security-realm-tp334180p876453.html
Sent from the Users mailing list archive at Nabble.com.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic