Class RolePrincipal

  • All Implemented Interfaces:,

    public class RolePrincipal
    extends java.lang.Object
    RolePrincipal Represents a role. This class can be added to a Subject to represent a role that the Subject has.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructor Description
      RolePrincipal​(java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configureForSubject​( subject)  
      java.lang.String getName()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface

        equals, hashCode, implies, toString
    • Constructor Detail

      • RolePrincipal

        public RolePrincipal​(java.lang.String name)
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface
      • configureForSubject

        public void configureForSubject​( subject)