Hi Darius,
Darius Davidavicius wrote:
DD> I have added in standardjboss.xml ( is it correct? )
DD> <?xml version="1.0" encoding="Cp1252"?>
DD> <jboss>
DD> <secure>false</secure>
DD>
<authentication-module>java:/jaas/org.jboss.security.SimpleRealmMappingService</authentication-module>
DD>
<role-mapping-manager>java:/jaas/org.jboss.security.SimpleRealmMappingService</role-mapping-manager>
DD> <container-configurations>
DD> .......
DD> </jboss>
Your standardjboss.xml is incorrect, let me recall you my previous
message in this thread:
> You should specify realm mapping and authentication module in
> container-configuration either for each jboss.xml or globally, in
> conf/default/standardjboss.xml, e.g.:
>
> <authentication-module>java:/jaas/other</authentication-module>
> <role-mapping-manager>java:/jaas/other</role-mapping-manager>
>
> where "other" corresponds to a section in conf/default/auth.conf.
> jBoss distribution contains two JAAS server login modules:
> org.jboss.security.SimpleServerLoginModule and
> org.jboss.security.DatabaseServerLoginModule,
> and you would probably wish to write your own.
>
> Also it is possible to go without JAAS at all. Then you should use
> security MLETs specified in jboss.conf, either existing
> org.jboss.security.SimpleRealmMappingService and
> org.jboss.security.EJBSecurityManagerService
> or write your own.
> In this case jboss.xml could contain
>
>
> <authentication-module>java:/EJBSecurityManager</authentication-module>
> <role-mapping-manager>java:/SimpleRealmMapping</role-mapping-manager>
>
Since you don't use JAAS, the latter option is for you.
Just copy&paste it to your standardjboss.xml.
Best regards,
Oleg
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]