[jboss-user] [Beginner's Corner] - security realm problem
Erik Úlfhéðinn
do-not-reply at jboss.com
Tue May 10 09:46:05 EDT 2011
Erik Úlfhéðinn [http://community.jboss.org/people/e3k] created the discussion
"security realm problem"
To view the discussion, visit: http://community.jboss.org/message/604462#604462
--------------------------------------------------------------
i have to install adobe data services on jboss 5.1.
this installation docs look like this:
http://help.adobe.com/en_US/LiveCycleDataServicesES/3.1/Installing/lcds31_install.html http://help.adobe.com/en_US/LiveCycleDataServicesES/3.1/Installing/lcds31_install.html
1. Copy the ++ flex-tomcat-common.jar and flex-tomcat-server.jar files from the +install_root+/resources/security/tomcat folder to the +jboss_root+/server/default/lib folder.
2. Add the TomcatValve to the context.xml under \server\default\deploy\jboss-web.sar:
<VALVE classname="flex.messaging.security.TomcatValve"></VALVE>
3. Create a tomcat-users.xml file in the +jboss_root+/server/default/conf directory. The following example shows a basic tomcat-users.xml file:
4. > <xml version='1.0' encoding='utf-8'?>
> <tomcat-users>
> <role rolename="tomcat"/>
> <role rolename="role1"/>
> <user username="tomcat" password="tomcat" roles="tomcat"/>
> <user username="both" password="tomcat" roles="tomcat,role1"/>
> <user username="role1" password="tomcat" roles="role1"/>
> </tomcat-users>
>
5. Replace the current security realm in the server.xml file under \server\default\deploy\jboss-web.sar with the following:
<Realm className="org.apache.catalina.realm.MemoryRealm" pathname="../server/default/conf/tomcat-users.xml"/>
6. Restart JBoss
but when i replace the realm i cant login anymore to jmx-console.
please help me to configure this.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/604462#604462]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110510/17ffc9b4/attachment.html
More information about the jboss-user
mailing list