|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jnp.interfaces.NamingContextFactory (src)
org.jboss.security.jndi.JndiLoginInitialContextFactory
A naming provider InitialContextFactory implementation that combines the authentication phase with the InitialContext creation. During the getInitialContext callback from the JNDI naming, layer security context identity is populated with the username obtained from the Context.SECURITY_PRINCIPAL env property and the credentials from the Context.SECURITY_CREDENTIALS env property. There is no actual authentication of this information. It is merely made available to the jboss transport layer for incorporation into subsequent invocations. Authentication and authorization will occur on the server.
InitialContextFactory
Constructor Summary | |
JndiLoginInitialContextFactory()
|
Method Summary | |
javax.naming.Context |
getInitialContext(java.util.Hashtable env)
Take the env Context.SECURITY_PRINCIPAL and Context.SECURITY_CREDENTIALS and propagate these to the SecurityAssociation principal and credential. |
Methods inherited from class org.jnp.interfaces.NamingContextFactory (src) |
getObjectInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JndiLoginInitialContextFactory()
Method Detail |
public javax.naming.Context getInitialContext(java.util.Hashtable env) throws javax.naming.NamingException
getInitialContext
in interface javax.naming.spi.InitialContextFactory
getInitialContext
in class NamingContextFactory (src)
env
-
javax.naming.NamingException
|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |