[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamic registration of a custom login module?
Here is something from our testsuite. form-auth.ear == | = form-auth-roles.properties | =form-auth-users.properties | =form-auth.war | =jboss-service.xml | META-INF | | | - application.xml | - jboss-app.xml | - security-config.xml | Let me show you the important files: jboss-service.xml - | | | | | | META-INF/security-config.xml | | jboss.security:service=XMLLoginConfig | | | jboss.security:service=JaasSecurityManager | | | | security-config.xml -- | | http://www.jboss.org/j2ee/dtd/security_config.dtd";> | | | | | | | | nobody | form-auth-users.properties | form-auth-roles.properties | | | | | jboss-app.xml | | http://www.jboss.org/j2ee/dtd/jboss-app_3_2.dtd";> | | | | jboss-service.xml | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931787#3931787 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931787 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamic registration of a custom login module?
The sar thing doesn't work. At least not with that embedded Dynamic config. Just putting login-config.xml in the base of the EAR doesn't do it. And adding a to application.xml pointing to login-config.xml causes an error. Don't think you can do that. Anway. Why is sessionContext.isCallerInRole("User") returning false? request.isUserInRole("User") returns true, because in my LoginModule, I have | private void createRoleSets() throws LoginException | { | SimpleGroup roles = new SimpleGroup("Roles"); | | // Add roles held by the user. | // Currently, the only role is "User". | roles.addMember(new GreenfieldsUserRole("User")); | | SimpleGroup callerPrincipal = new SimpleGroup("CallerPrincipal"); | callerPrincipal.addMember(getIdentity()); | | roleSets = new SimpleGroup[]{ roles, callerPrincipal }; | } | It's not working. It's not reliable. It's weird. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931399#3931399 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931399 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamic registration of a custom login module?
OK, that bit is working, I have my DataSources dynamically loaed with the EAR. But it's still really weird. request.getUserPrincipal.isUserInRole("User") returns true. sessionContext.isCallerInRole("User") returns false; ? And WHY must I have an EMPTY element in jboss.xml in the EJB jar to make the login work? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931386#3931386 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931386 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamic registration of a custom login module?
And application.xml goes in the META-INF of the EAR file??? All these xml files all over the place! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931383#3931383 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931383 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamic registration of a custom login module?
Nigel, I put my_datasource-ds.xml file at the root of my ear. Then I add |... | | my_datasource-ds.xml | |... | to application.xml. This datasource then gets deployed/undeployed automatically with ear by service http://wiki.jboss.org/wiki/Wiki.jsp?page=XSLSubDeployer. Also AFAIK, you can do the same thing with your login-config.xml. I use the sar method described earlier because I package login modules inside the sar. Glad to hear you are coming along on solving your problems, cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931378#3931378 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931378 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamic registration of a custom login module?
It's just T weird. I have to have an empty security domain in jboss.xml in my EJS jar: | | | | If I put the correct security domain in (java:/jaas/Greenfields), it says: | 15:45:21,781 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files | java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found | at org.jboss.security.auth.spi.Util.loadProperties(Util.java:313) | at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186) | at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200) | at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756) | at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) | at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) | at java.security.AccessController.doPrivileged(Native Method) | at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) | at javax.security.auth.login.LoginContext.login(LoginContext.java:579) | at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:587) | at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:521) | at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:330) | at org.jboss.aspects.security.AuthenticationInterceptor.authenticate(AuthenticationInterceptor.java:121) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:67) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:178) | at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:74) | at $Proxy120.getAll(Unknown Source) | at com.fcl.gf.mgr.ListMgr.getList(Unknown Source) But then I have to put @SecurityDomain("Greenfields") At the declaration of my EJB into the EJBs that I'm using, otherwise it says: 15:48:01,968 ERROR [STDERR] javax.ejb.EJBException: java.lang.IllegalStateException: isCallerInRole() called with no security conte | t. Check that a security-domain has been set for the application. | 15:48:01,968 ERROR [STDERR] at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) | 15:48:01,984 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) | 15:48:01,984 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:192) | 15:48:01,984 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | 15:48:01,984 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | 15:48:01,984 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | 15:48:01,984 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:5 | ) THis isn't making sanse. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931375#3931375 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931375 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamic registration of a custom login module?
OK, I can cast the SessionContext.getCallerPrincipal() to my custom Principal class! It's just started working!! Hmm... OK, now I just need this DynamicLoginConfig to work. Any idea how I can add a DataSource without having to drop a seperate XML file into the deploy directory? I'd just like to keep everying inside the EAR. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931368#3931368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931368 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamic registration of a custom login module?
Version 4.0.3 How do I turn tracing on? Update on not getting my custom Principal. I am getting a com.fcl.security.GreenfieldsUser out of the SessionContext, but I can't cast it to that (which was making me think it was just handing me a SimplePrincipal) I think it's from a different ClassLoader. I have the GreenfieldsUser class file in the EJB jar that's inside the EAR. Surely that should then be usable? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931365#3931365 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931365 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamic registration of a custom login module?
Version 4.0.3 How do I turn tracing on? Update on not getting my custom Principal. I am getting a com.fcl.security.GreenfieldsUser out of the SessionContext, but I can't cast it to that (which was making me think it was just handing me a SimplePrincipal) I think it's from a different ClassLoader. I have the GreenfieldsUser class file in the EJB jar that's inside the EAR. Surely that should then be usable? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931364#3931364 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931364 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamic registration of a custom login module?
Nigel, What version of JBoss are you using? Can you provide some TRACE logging of JBoss security layer aroung the time of authentication. cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931362#3931362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931362 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamic registration of a custom login module?
Hi j2ee_junkie! I'm trying to implement my own LoginModule, again without having to configure any external config files. I have the Login module, but I can't make it use it without changing the server/conf/login-config.xml. I'm using the Embedded Login Configuration in http://wiki.jboss.org/wiki/Wiki.jsp?page=DynamicLoginConfig I'm putting that into a .sar file as you describe: | GF.ear | +--> GF.sar | +--> META-INF | | +--> jboss-service.xml | +--> CustomLoginModules.jar | +-->com/fcl/security/GreenfieldsLoginModule.class | +--> ejbs.jar | +--> webapp.war jboss-service.xml looks like | | http://www.jboss.org/j2ee/dtd/jboss-service_4_0.dtd";> | | | | | http://www.w3.org/2001/XMLSchema-instance";> | | | | | | anonymous | com.fcl.security.GreenfieldsUser | true | | | | | true | true | | | | | | | | jboss.security:service=XMLLoginConfig | | | jboss.security:service=JaasSecurityManager | | | | But it's producing: 14:40:55,031 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files | java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found | at org.jboss.security.auth.spi.Util.loadProperties(Util.java:313) | at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186) | at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200) | at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756) | at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) | at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) | at java.security.AccessController.doPrivileged(Native Method) | at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) | at javax.security.auth.login.LoginContext.login(LoginContext.java:579) | at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:587) | at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:521) | at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:330) | at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:306) | at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:256) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:416) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) One more thing. Even when it called my LoginModule correctly - when
[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamic registration of a custom login module?
Most likey this is because you did not change the name of the mbean in the descriptor file. If you just copy and pasted from wiki page, the name is the same as an already deployed mbean. So just rename it to something that is important to you. enjoy, c View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921583#3921583 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921583 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamic registration of a custom login module?
Okay new problem. First ear works fine, but the 2nd ear generates an error: org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss:service=DynamicLoginConfig Obviously this is happening because I have the same mbean definition in both ear files. My question is what I should do about it? Is there a way to say "deploy if it doesn't already exist" in an mbean declaration? or is there a better way I can tackle the DynamicLoginConfig mbean deployment? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921487#3921487 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921487 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamic registration of a custom login module?
Looks like it is working, thanks for the help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921360#3921360 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921360 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamic registration of a custom login module?
Worked for me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921309#3921309 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921309 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamic registration of a custom login module?
Going to give this a shot, will let you know how it goes. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921263#3921263 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921263 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamic registration of a custom login module?
Andrew, What you want to do is to deploy the DynamicLoginConfig mBean. This mbean then will look for the login-config file you have specified in service.xml file (or embed in mbean config if using JBoss >= 4.0.3.) The DynamicLoginConfig is deployed depending on where you put the -service.xml file. I have always deployed it with my ear. But then again I have my ear's isolated from rest of server, so this is my only option. This is done by putting the -service.xml file along with login-config.xml file at base of ear, and then specify the -service.xml file as a java module in application.xml. I guess I could have also deployed it in a sar in my ear. I do not know what would happen if you just put -service.xml file in deploy directory. Are you still having trouble with this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921238#3921238 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921238 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Dynamic registration of a custom login module?
After further reading, I realize there is a better way... You have two ear's you mention as your projects, correct? In each ear, include at the base a .sar that contains | *.sar/ |+--> META-INF/ |+> jboss-service.xml |+--> login-config.xml |+--> customLoginModules.jar | where the jboss-service.xml contains the mbean element config'ing the DynamicLoginConfig mbean. Then deploy the sar with your ear by adding the module element to your jboss-app.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921246#3921246 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921246 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user