|
Novell exteNd Messaging Platform 5.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The initial object that provides access to the CSIv2 security APIs.
Method Summary | |
IdentityToken |
createIdentityToken()
Create an ITTAnonymous Identity Token. |
IdentityToken |
createIdentityToken(int tokenType,
byte[] bytes)
Create an ITTDistinguishedName, or an ITTX509CertChain Identity Token. |
IdentityToken |
createIdentityToken(String user,
String realm)
Create an ITTPrincipalName Identity Token. |
InitialContextToken |
createInitialContextToken(String username,
String password,
String realm)
Create a GSSUP Initial Context Token. |
AuthCallback |
getAuthCallback()
Get the client side callback for creating a Security Context. |
Authenticator |
getAuthenticator()
Get the Authenticator used for authenticating the received Initial Context Tokens. |
SecurityContext |
getCaller()
Get the security context of the caller. |
SecurityContext |
getSecurityContext()
Get the security context for the current thread. |
SecurityContext |
getThreadSecurityContext()
Get the security context for the current thread. |
SecurityContext |
getThreadSecurityContext(Thread thread)
Get the security context for the given thread. |
SecurityContext |
newContext()
Create a new security context. |
void |
setAuthCallback(AuthCallback callback)
Set the client side callback for creating a Security Context. |
void |
setAuthenticator(Authenticator authenticator)
Set the Authenticator to use for authenticating the received Initial Context Tokens. |
void |
setORBContext(SecurityContext context)
Set the ORB level security context. |
void |
stackThreadContext(SecurityContext context)
Set the thread security context. |
void |
stackThreadContext(SecurityContext context,
Thread thread)
Set the thread security context. |
void |
unsetORBContext(SecurityContext context)
Unset the ORB level security context. |
void |
unstackThreadContext(SecurityContext context)
Unset the thread security context. |
void |
unstackThreadContext(SecurityContext context,
Thread thread)
Unset the thread security context. |
Methods inherited from interface com.sssw.jbroker.api.security.SecurityCurrent |
getCertificateChain, getCertificateChain, getInetAddress, getLocalAddress, getLocalPort, getNegotiatedCipherSuite, getNegotiatedCipherSuite, getORBPrincipal, getPort, getPrincipal, getPrincipal, getThreadPrincipal, getThreadPrincipal, setORBPrincipal, stackThreadPrincipal, stackThreadPrincipal, unsetORBPrincipal, unstackThreadPrincipal, unstackThreadPrincipal |
Methods inherited from interface org.omg.CORBA.Object |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
Method Detail |
public IdentityToken createIdentityToken() throws SecurityException
SecurityException
public IdentityToken createIdentityToken(String user, String realm) throws SecurityException
SecurityException
public IdentityToken createIdentityToken(int tokenType, byte[] bytes) throws SecurityException
tokenType
- IdentityToken.ITTDistinguishedName or
IdentityToken.ITTX509CertChainbytes
- if tokenType is ITTDistinguishedName, then ASN.1
encoding of an X.501 distinguished name; Otherwise, ASN.1
encoding of squence of 1 or more X.509 Certificates
SecurityException
public InitialContextToken createInitialContextToken(String username, String password, String realm) throws SecurityException
SecurityException
public SecurityContext newContext() throws SecurityException
SecurityException
public SecurityContext getCaller() throws SecurityException
SecurityException
public void setORBContext(SecurityContext context) throws SecurityException
SecurityException
public void unsetORBContext(SecurityContext context) throws SecurityException
SecurityException
public void stackThreadContext(SecurityContext context) throws SecurityException
SecurityException
public void stackThreadContext(SecurityContext context, Thread thread) throws SecurityException
SecurityException
public void unstackThreadContext(SecurityContext context) throws SecurityException
SecurityException
public void unstackThreadContext(SecurityContext context, Thread thread) throws SecurityException
SecurityException
public SecurityContext getSecurityContext() throws SecurityException
SecurityException
public SecurityContext getThreadSecurityContext(Thread thread) throws SecurityException
SecurityException
public SecurityContext getThreadSecurityContext() throws SecurityException
SecurityException
public Authenticator getAuthenticator() throws SecurityException
SecurityException
public void setAuthenticator(Authenticator authenticator) throws SecurityException
SecurityException
public AuthCallback getAuthCallback() throws SecurityException
SecurityException
public void setAuthCallback(AuthCallback callback) throws SecurityException
SecurityException
|
Novell exteNd Messaging Platform 5.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |