Hi,
For as little as I understand the login module is just responsible for *
validating* the user/password combination but does not instantiate a new
Principal. I have no mapping for the principals in the Geronimo deployment
plan.
As I've said, I don't really understand who's responsible in the end for
setting the Principal's type and what I should modify to make it a
GenericPrincipal.

Thanks.

2010/3/12 Ashish Jain [via Apache Geronimo] <
ml-node+443729-370314233-186...@n3.nabble.com<ml-node%2b443729-370314233-186...@n3.nabble.com>
>

> I see from your security realm  that you are using a custom login module.
> Are you also using custom principal class as well?? How are you adding
> principals to geronimo in login module commit method?? How are mapping the
> principals in your geronimo deployment plan??
>
> On Fri, Mar 12, 2010 at 3:04 PM, mirceade <[hidden 
> email]<http://n3.nabble.com/user/SendEmail.jtp?type=node&node=443729&i=0>
> > wrote:
>
>>
>> Hi,
>> I'm trying to use clustering for a Geronimo with Tomcat for a third party
>> application following the instructions here:
>> http://publib.boulder.ibm.com/wasce/V2.0.0/en/clustering.html
>>
>> I'm getting the following error:
>>
>> 2010-03-12 07:02:19,828 ERROR [DeltaRequest] DeltaManager only support
>> GenericPrincipal. Your realm used principal class
>> org.apache.geronimo.tomcat.JAASTomcatPrincipal.
>>
>> Now, I guess that for creating the Principal a Realm is the one
>> responsible
>> which in my case is the JAASTomcatRealm or smth. like that (this seems to
>> be
>> the default for Tomcat when configured inside Geronimo).
>>
>> My question is how do I change these realms (and with what GBean configs)
>> in
>> order to make Tomcat clustering work.
>>
>> I know nothing about security in a JEE server. Please help me. Please.
>>
>> The application's settings for the Realm:
>>
>>        <gbean name="AppSecurity"
>> class="org.apache.geronimo.security.realm.GenericSecurityRealm"
>> xsi:type="dep:gbeanType"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>>        <attribute name="realmName">AppSecurity</attribute>
>>        <reference name="ServerInfo">
>>            <name>ServerInfo</name>
>>        </reference>
>>        <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>AppSecurity</log:login-domain-name>
>>
>>
>> <log:login-module-class>at.co.sbs.kix.server.security.geronimo.AppGeronimoLoginModule</log:login-module-class>
>>             <log:option
>> name="dataSourceApplication">com.app/App/3.4/car</log:option>
>>            <log:option name="dataSourceName">...</log:option>
>>            <log:option name="delimiter">.</log:option>
>>          </log:login-module>
>>       </log:login-config>
>>      </xml-reference>
>> </gbean>
>>
>>
>> Thank you.
>> Mircea.
>> --
>> View this message in context:
>> http://n3.nabble.com/DeltaManager-only-support-GenericPrincipal-Your-realm-used-principal-class-org-apache-geronimo-tomcal-tp443671p443671.html
>> Sent from the Users mailing list archive at Nabble.com.
>>
>
>
>
> ------------------------------
>  View message @
> http://n3.nabble.com/DeltaManager-only-support-GenericPrincipal-Your-realm-used-principal-class-org-apache-geronimo-tomcal-tp443671p443729.html
> To unsubscribe from DeltaManager only support GenericPrincipal. Your realm
> used principal class org.apache.geronimo.tomcat.JAASTomcatPrincipal, click
> here< (link removed) ==>.
>
>
>

-- 
View this message in context: 
http://n3.nabble.com/DeltaManager-only-support-GenericPrincipal-Your-realm-used-principal-class-org-apache-geronimo-tomcal-tp443671p443936.html
Sent from the Users mailing list archive at Nabble.com.

Reply via email to