I have similar problem, added a question to stackoverflow:
http://stackoverflow.com/questions/1295938/jaas-and-jboss-5-problem-with-principal
The reflection example works but I would prefer ... hmm... different solution.
Also watching and voted that bug.
View the original post :
http://www.jbo
rmField.setAccessible(true)? Yes, a little bit of my soul died typing that in
but it works. Thank you very much for the help.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231159#4231159
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posti
"bbunderson" wrote :
| Does anyone out there have a suggested work around for this problem?
Unholy access via reflection. This works for us:
| Field rmField = EJBContextImpl.class.getDeclaredField("rm");
| rmField.setAccessible(true);
| RealmMapping rm = (RealmMapping)rmField.get(ejbCon
Not having access to a custom principal is big problem for us. I posted a
comment to the JIRA issue (two actually, sorry, browser wierdness) and I also
voted on the issue.
I'm not sure how to work around this other than to write some sort of
interceptor to basically do the work that I wanted t
Is there any progress / status on this bug?
I have voted and "watched" it in JIRA, but haven't seen any comments or work
yet.
Is it confirmed that this is a bug and not a configuration issue? (Any other
configuration tips to try to work around it?)
Any chance of getting the bug onto the road
https://jira.jboss.org/jira/browse/EJBTHREE-1756
This bug has been moved to the EJB3 project.
Please add yourself as a watcher on this bug. You can also vote on it.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216057#4216057
Reply to the post :
http://
EJB 3
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216005#4216005
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216005
___
jboss-user mailing list
jboss-user@lists.jboss.or
This seems to be a bug.
https://jira.jboss.org/jira/browse/JBAS-6593
Is this for EJB2 or EJB3?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216002#4216002
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216002
I guess the difference between jboss 4 and 5 is that in jboss 4, the
"CallerPrincipal" will used to determine the principal to return. For jboss 5,
it returns the identity of type CredentialIdentity.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215977#4215
I'm not sure if you created the bug yet but here is what I found:
When you log in to a web app:
1) In JBossWebRealm.authenticate, a SimplePrincipal is created with the
username (line 382).
2) This SimplePrincipal is passed to
SecurityAssociationActions.setPrincipalInfo on line 388 of JBossWebRe
I have the exact same problem. I am trying to debug jboss to see what is going
on. Does anyone know where I can get the source for jbosssx? It doesn't seem
to be in the jboss source I downloaded.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215960#421596
Thanks for your reply. Since no one here seems to know anything about it, I
will look into filing a bug report.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215781#4215781
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&
Hello bhawthorne,
well, we faced the same problem currently and found, that even writing of a own
login module setting the custom principal into the subject does not succeed -
using sessionContext.getCallerPrincipal returns an instance of SimplePrincipal.
This is very annoyning, meaning that th
13 matches
Mail list logo