|
>login. When
dealing with public key information, what is our principal? What is our
credential? I kinda assumed the DN
>would be
the principal and the Certificate the credential. (ya, I know that isn't what is
currently happening in the code)
Right, that is what I'm saying should be done. Take
the cert dn and create a SimplePrincipal with the
dn as the name, or alternatively, if it is an
X509Certificate obtain the Principal via the getSubjectDN
method, and pass in
the cert as the crendential. Its the current use of null as the
Principal
that is the problem as this refers to the anonymous
principal. After authentication there is no real principal
associated with the calling thread that could be
used as the propagation context of the callee. This
means that if the EJB that was invoked by the soap
msg tries to access other secured resources
its screwed.
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx
|
- Re: [JBoss-dev] authenticating using a non-text credential... Jason Essington
- Re: [JBoss-dev] authenticating using a non-text crede... Scott M Stark
- Re: [JBoss-dev] authenticating using a non-text c... Jason Essington
- [JBoss-dev] JaasSecurityDomain breaks JBoss L... Jason Essington
- Re: [JBoss-dev] authenticating using a non-te... Scott M Stark
- Re: [JBoss-dev] authenticating using a no... Jason Essington
- Re: [JBoss-dev] authenticating using... Scott M Stark
- Re: [JBoss-dev] authenticating using... Jason Essington
- Re: [JBoss-dev] authenticating using... Scott M Stark
- Re: [JBoss-dev] authenticating using... Jason Essington
- Scott M Stark
