Class SimpleGroupPrincipal

  • All Implemented Interfaces:
    java.security.acl.Group, java.security.Principal

    @SerializeWith(Externalizer.class)
    public class SimpleGroupPrincipal
    extends java.lang.Object
    implements java.security.acl.Group
    SimpleGroupPrincipal.
    Since:
    7.0
    Author:
    Tristan Tarrant
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean addMember​(java.security.Principal user)  
      java.lang.String getName()  
      boolean isMember​(java.security.Principal member)  
      java.util.Enumeration<? extends java.security.Principal> members()  
      boolean removeMember​(java.security.Principal user)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.security.Principal

        equals, hashCode, implies
    • Constructor Detail

      • SimpleGroupPrincipal

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

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface java.security.Principal
      • addMember

        public boolean addMember​(java.security.Principal user)
        Specified by:
        addMember in interface java.security.acl.Group
      • removeMember

        public boolean removeMember​(java.security.Principal user)
        Specified by:
        removeMember in interface java.security.acl.Group
      • isMember

        public boolean isMember​(java.security.Principal member)
        Specified by:
        isMember in interface java.security.acl.Group
      • members

        public java.util.Enumeration<? extends java.security.Principal> members()
        Specified by:
        members in interface java.security.acl.Group
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface java.security.Principal
        Overrides:
        toString in class java.lang.Object