com.ibm.websphere.security.auth
Class WSSecurityContextResultjava.lang.Object | +--com.ibm.websphere.security.auth.WSSecurityContextResult
Deprecated. This class is being deprecated in favor of using JAAS.
- public class WSSecurityContextResult
- extends java.lang.Object
WSSecurityContextResult is used to get the result of the WSSecurityContext acceptSecContext outcome. This result contains the authenticated Subject. This should only be used in special cases.
- Version:
- 1.0
Constructor Summary WSSecurityContextResult(byte[] token, javax.security.auth.Subject subject)
Deprecated.
Method Summary WSCredential getCredential()
Deprecated. Use getSubject() instead, the WSCredential will be in the public credential list of the Subject.byte[] getFinalToken()
Deprecated. Returns a byte array containing a final token or null, A null return value indicates no Final Token was produced.javax.security.auth.Subject getSubject()
Deprecated. Returns the authenticated Subject or null if authentication failed.
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail WSSecurityContextResult
public WSSecurityContextResult(byte[] token, javax.security.auth.Subject subject)
- Deprecated.
Method Detail getFinalToken
public byte[] getFinalToken()
- Deprecated.
- Returns a byte array containing a final token or null, A null return value indicates no Final Token was produced.
- Returns:
- byte[]
getSubject
public javax.security.auth.Subject getSubject()
- Deprecated.
- Returns the authenticated Subject or null if authentication failed.
- Returns:
- javax.security.auth.Subject
getCredential
public WSCredential getCredential()
- Deprecated. Use getSubject() instead, the WSCredential will be in the public credential list of the Subject.
- Returns the authenticated WSCredential.
- Returns:
- com.ibm.websphere.security.cred.WSCredential
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.