g-Eclipse
Release 1.0.0

eu.geclipse.core.accesscontrol
Enum ActorType

java.lang.Object
  extended by java.lang.Enum<ActorType>
      extended by eu.geclipse.core.accesscontrol.ActorType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ActorType>

public enum ActorType
extends java.lang.Enum<ActorType>

The different types an ACL actor can be. Most of these types require a type-specific extra field, like the X509's DN, to identify the actor. Others, like type 'ANYBODY' do not require more data. Not all implementations support all actor types.


Enum Constant Summary
ANYBODY
          Absolutely anybody.
CA_ANY_DN_ANY
          Anybody registered with a certificate of a known CA.
CA_NAME_DN_ANY
          Anybody registered with the given CA.
CA_NAME_DN_NAME
          The user with the given certificate DN.
CA_NAME_DN_PATTERN
          The users satisfying the given certificate DN pattern.
GROUP_NAME
          Members of the given access group.
GROUP_PATTERN
          Members of access groups satisfying the given pattern.
OTHER
          Other kind of actor, for implementation specific extensions.
SAML_ATTRIBUTE
          Users carrying the given SAML attribute.
USER_EMAIL
          The user identified by the given email address.
USER_NAME
          The user with the given user name.
USER_PATTERN
          The users satisfying the given user name pattern.
 
Method Summary
abstract  java.lang.String getName()
          Returns the name of this actor type.
static ActorType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ActorType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ANYBODY

public static final ActorType ANYBODY
Absolutely anybody.


CA_ANY_DN_ANY

public static final ActorType CA_ANY_DN_ANY
Anybody registered with a certificate of a known CA.


CA_NAME_DN_ANY

public static final ActorType CA_NAME_DN_ANY
Anybody registered with the given CA.


CA_NAME_DN_PATTERN

public static final ActorType CA_NAME_DN_PATTERN
The users satisfying the given certificate DN pattern.


CA_NAME_DN_NAME

public static final ActorType CA_NAME_DN_NAME
The user with the given certificate DN.


GROUP_PATTERN

public static final ActorType GROUP_PATTERN
Members of access groups satisfying the given pattern.


GROUP_NAME

public static final ActorType GROUP_NAME
Members of the given access group.


USER_PATTERN

public static final ActorType USER_PATTERN
The users satisfying the given user name pattern.


USER_NAME

public static final ActorType USER_NAME
The user with the given user name.


USER_EMAIL

public static final ActorType USER_EMAIL
The user identified by the given email address.


SAML_ATTRIBUTE

public static final ActorType SAML_ATTRIBUTE
Users carrying the given SAML attribute.


OTHER

public static final ActorType OTHER
Other kind of actor, for implementation specific extensions.

Method Detail

values

public static final ActorType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ActorType c : ActorType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ActorType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getName

public abstract java.lang.String getName()
Returns the name of this actor type.

Returns:
a user friendly name.

g-Eclipse
Release 1.0.0