I'm sorry for not posting this sooner - Here is how I solved this problem
without writing my own authentication:
First, make sure to set up login-config.xml in
/server/default/conf. Here is an example
|
|
|
|
| Guest
| ldap:/
Thank you, the FAQ has solved my problem I appreciate the time you've given me!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934457#3934457
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934457
I am having a similar problem -- My client sets the properties almost
identically to what you have shown but for some reason once I'm in the EJB
tier, Jboss is telling my session bean that the anonymous "guest" user is
signed in ( context.getCallerPrincipal() ).
I've been scouring the web all m
Just found this
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855335#3855335
I have been told this in other places too -- that I need to set up a security
context -- but I'm really not sure how. I'm authenticating against Active
Directory, and I have a realm set up in my server.xml
After doing some research, I am beginning to believe that this should work the
way I have described. Here is my evidence:
In section 4.5.2 of the EJB 3.0 spec (EJBCore) the operations allowed in
methods of a stateless session bean are defined, and the IllegalStateException
is to be thrown if t
Hello, I have posted a similar question on the ejb3 forum but the conversation
there has lead me to believe this is a better place to address it.
Here is the situation:
I have a struts/EJB3 application. The user logs in through an HTML Form which
is backed by j_security_check. The user is the
Thanks, this helps a bit. It doesn't quite solve my problem though -- at this
point in the application, the user is already logged in, or they are not going
to log in. We use form authentication through j_security_check.
What my session bean is trying to do is to get ahold of the user that i
Not sure if you ever got a response to this but it looks like your BindDN is
actually mapped to a userPrincipalName. You probably need to map it to the
actual DN.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928283#3928283
Reply to the post :
http://www.
Yes, @Inject went away in favor of @EJB, @Resource, etc...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928178#3928178
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928178
--
Just a bump, does anyone have a link to a tutorial, trail or otherwise
informative article explaining how to set up the above mentioned LoginContext?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928177#3928177
Reply to the post :
http://www.jboss.com/index
Ok, well, are there any examples of how to implement this for JBoss?
I really appreciate the help!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3927455#3927455
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3927455
I am confused as to how to specify this. I'd prefer to use something
non-proprietary so that the app can be dropped on other servers if it needs to
be, so JAAS is probably the better solution for me, but I'll take what I can
get for now!
Thank you for explaining the exception, hopefully I can
Hello,
I am working on migrating an application from EJB2.1 on Weblogic to EJB3 spec
(JBoss) and I have run into a roadblock. In my security SLSB I have a call to
ctx.getCallerPrincipal() which throws an IllegalStateException.
javax.ejb.EJBException: java.lang.IllegalStateException
13 matches
Mail list logo