Class SimpleSubjectUserInfo

    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleSubjectUserInfo​(java.lang.String userName, javax.security.auth.Subject subject)  
      SimpleSubjectUserInfo​(javax.security.auth.Subject subject)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<java.security.Principal> getPrincipals()
      Get the principals for this user.
      javax.security.auth.Subject getSubject()
      Returns the subject
      java.lang.String getUserName()
      Get the name for this user.
      • Methods inherited from class java.lang.Object

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

      • SimpleSubjectUserInfo

        public SimpleSubjectUserInfo​(javax.security.auth.Subject subject)
      • SimpleSubjectUserInfo

        public SimpleSubjectUserInfo​(java.lang.String userName,
                                     javax.security.auth.Subject subject)