org.alfresco.service.cmr.security
Class AuthorityType
java.lang.Object
java.lang.Enum
org.alfresco.service.cmr.security.AuthorityType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable
public class AuthorityType
- extends java.lang.Enum
The types of authority that are available.
Available types are:
- USER - an authority that identifies a user
- GROUP - an authority that identifies a group
- OWNER - the special authority that applies to the owner of a node
- EVERYONE - the special authority that is interpreted as everyone
- GUEST - the special authority that applies to a GUEST (An unknown, unauthenticated user)
- WILDCARD - the set of all authorities (including the guest user)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ADMIN
public static final AuthorityType ADMIN
EVERYONE
public static final AuthorityType EVERYONE
OWNER
public static final AuthorityType OWNER
GUEST
public static final AuthorityType GUEST
GROUP
public static final AuthorityType GROUP
ROLE
public static final AuthorityType ROLE
USER
public static final AuthorityType USER
WILDCARD
public static final AuthorityType WILDCARD
values
public static AuthorityType[] values()
valueOf
public static AuthorityType valueOf(java.lang.String name)
isFixedString
public abstract boolean isFixedString()
getFixedString
public abstract java.lang.String getFixedString()
isPrefixed
public abstract boolean isPrefixed()
getPrefixString
public abstract java.lang.String getPrefixString()
getOrderPosition
public abstract int getOrderPosition()
equals
public boolean equals(java.lang.String authority)
getAuthorityType
public static AuthorityType getAuthorityType(java.lang.String authority)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.