[jboss-user] [Security] - Security Context has not been set

2009-08-26 Thread lesquivel
Hello, I am having the following exception when logging in. I am hoping that somebody might have some suggestions to where I might look or check to try and resolve this issue: | 17:16:45,552 ERROR [JBossWebRealm] Error during authenticate | java.lang.IllegalStateException: Security

[jboss-user] [Beginners Corner] - Re: Authentication Error

2009-08-20 Thread lesquivel
Hello Wolfgang, Thank you for your response. I will try what you mention. I will post an answer if I figure it out. Thanks again. Luis View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250688#4250688 Reply to the post :

[jboss-user] [Beginners Corner] - Re: Authentication Error

2009-08-19 Thread lesquivel
Hello Wolfgang and thanks for your reply! Ok, here is more information thanks for your patience. I am using JBoss 5.1.0GA - JDK6. I am also usuing a custom login config. Below is the configuration: | application-policy name=MYCOMPANY-login-module | authentication |

[jboss-user] [Beginners Corner] - Re: Authentication Error

2009-08-19 Thread lesquivel
My login module class implements javax.security.auth.spi.LoginModule. Do you think the problem is code and not a configuration issue? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250409#4250409 Reply to the post :

[jboss-user] [Beginners Corner] - Re: Authentication Error

2009-08-18 Thread lesquivel
Hello Wolfgang, Thank you for your reponse! The error happens during login. Below I have my login-config.xml and the entire exception. Thanks!! login-config.xml: application-policy name=XYZ-login-module login-module code=org.XYZ.security.auth.XYZLoginModule flag=required

[jboss-user] [Beginners Corner] - Authentication Error

2009-08-17 Thread lesquivel
Hello, I am getting the following exception: ERROR [JBossWebRealm] Error during authenticate java.lang.IllegalStateException: Security Context has not been set at java.security.AccessController.doPrivileged(Native Method) I don't think I should post the entire exception here but if needed

[jboss-user] [Beginners Corner] - JBoss API Question

2009-08-04 Thread lesquivel
Hello, I am trying to find the API that would aid in the following: - Trying to find the JBoss servlet session to retrieve information such as which .war or servlet context the current code is running. Like getWebAppByName() sort of thing. - Get current servlet users where is would return an

[jboss-user] [Beginners Corner] - Re: JBoss API Question

2009-08-04 Thread lesquivel
Hello Peter, Thank you for your response. I just got a copy of your book and I am looking forward to learn from it!! Ok, yes I should have numbered them. Next time :) I am going to comment on your numbered responses. 1) and 2) : What if the HTTPServletRequest isn't available? i.e I am

[jboss-user] [Beginners Corner] - Re: JBoss API Question

2009-08-04 Thread lesquivel
Peter, I assume this is what you mean by accessing the MBean? Context ctx = new InitialContext(); MBeanServerConnection mconn = (MBeanServerConnection)ctx.lookup(jmx/invoker/RMIAdaptor); ObjectName name = new ObjectName(jboss.system:type=Server); Thanks. View the original post :

[jboss-user] [Beginners Corner] - Re: JBoss API Question

2009-08-04 Thread lesquivel
Ok! This is good info. Looking into the Twiddle for accessing the MBeans. (Tip from your book). I need to look into the LDAP lookup stuff. Thanks for your help! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247997#4247997 Reply to the post :

[jboss-user] [Beginners Corner] - JRun4 to JBoss Migration question

2009-07-23 Thread lesquivel
Hello, I am trying to find similar or equivalent functionality provided by the following packages in JRun4 in JBoss 5 jrun.security.*; jrun.servlet.* If anyone could point me in the right direction that would be greatly appreciated. Thanks! Luis Esquivel View the original post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: IIS7 JBoss configuration Speed/performance Issue

2009-07-20 Thread lesquivel
OK! I figured out the problem. It was my IIS7 Installation. I had an old JRun4 ISAPI filter installation. I had removed it but apparently IIS was still trying to use it. I had to completely remove IIS7 and install it again for it to work. Thanks Peter for trying to help. Luis View the

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: IIS7 JBoss configuration Speed/performance Issue

2009-07-20 Thread lesquivel
Hello Peter! Thank you for your response. Yes I have tried it without IIS and it's quick! It has got to do with some of the configuration in IIS7. I was wondering if anyone else has seen this delay. Thanks! View the original post :

[jboss-user] [Beginners Corner] - JBoss configuration Speed/performance Issue and IIS

2009-07-20 Thread lesquivel
Hello everyone, I posted this in the configuration forum as well in case this forum is better for the question. I am running JBoss 5.1.0 and have configured it to run with IIS7. I followed the instructions on this article: http://www.jboss.org/community/wiki/UsingModjk12WithJBossAndIIS7 The

[jboss-user] [Installation, Configuration DEPLOYMENT] - IIS7 JBoss configuration Speed/performance Issue

2009-07-20 Thread lesquivel
Hello everyone, We are switching to JBoss so I am brand new to this. I am running JBoss 5.1.0 and have configured it to run with IIS7. I followed the instructions on this article: http://www.jboss.org/community/wiki/UsingModjk12WithJBossAndIIS7 The problem I am having is that it takes too