Class PrincipalSASLResult

  • All Implemented Interfaces:
    SASLResult

    public class PrincipalSASLResult
    extends java.lang.Object
    implements SASLResult
    • Constructor Summary

      Constructors 
      Constructor Description
      PrincipalSASLResult​(boolean success, java.security.Principal peer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.security.auth.Subject getSubject()  
      java.lang.String getUser()  
      boolean isSuccess()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PrincipalSASLResult

        public PrincipalSASLResult​(boolean success,
                                   java.security.Principal peer)
    • Method Detail

      • getUser

        public java.lang.String getUser()
        Specified by:
        getUser in interface SASLResult
      • getSubject

        public javax.security.auth.Subject getSubject()
        Specified by:
        getSubject in interface SASLResult