com.ibm.websphere.security.auth

Interface WSPrincipal

  • All Superinterfaces:
    java.security.Principal


    public interface WSPrincipal
    extends java.security.Principal

    Principal created after a successful JAAS authentication.

    Since:
    1.0
    Version:
    1.0
    See Also:
    Principal
    • Method Summary

      Methods 
      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.
      • Methods inherited from interface java.security.Principal

        equals, getName, hashCode, toString
    • Method Detail

      • getCredential

        WSCredential getCredential()
        Deprecated. Use com.ibm.websphere.security.auth.WSSubject.getRunAsSubject() or com.ibm.websphere.security.auth.WSSubject.getCallerSubject() methods.

        Return a credential associated with the principal. If there is no valid credential, null is returned.

        Returns:
        The principal's credential.
IBM WebSphere Application ServerTM
Release 9.0