public interface WSPrincipal
extends java.security.Principal
Principal created after a successful JAAS authentication.
Principal| Modifier and Type | Method and Description |
|---|---|
WSCredential |
getCredential()
Deprecated.
Use com.ibm.websphere.security.auth.WSSubject.getRunAsSubject()
or com.ibm.websphere.security.auth.WSSubject.getCallerSubject() methods.
|
WSCredential getCredential()
Return a credential associated with the principal. If there
is no valid credential, null is returned.