org.gcube.common.core.security
Enum GCUBESecurityManager.AuthMode
java.lang.Object
java.lang.Enum<GCUBESecurityManager.AuthMode>
org.gcube.common.core.security.GCUBESecurityManager.AuthMode
- All Implemented Interfaces:
- Serializable, Comparable<GCUBESecurityManager.AuthMode>
- Enclosing interface:
- GCUBESecurityManager
public static enum GCUBESecurityManager.AuthMode
- extends Enum<GCUBESecurityManager.AuthMode>
Enumeration for levels of encryption of outgoing calls.
INTEGRITY
public static final GCUBESecurityManager.AuthMode INTEGRITY
PRIVACY
public static final GCUBESecurityManager.AuthMode PRIVACY
BOTH
public static final GCUBESecurityManager.AuthMode BOTH
NONE
public static final GCUBESecurityManager.AuthMode NONE
values
public static GCUBESecurityManager.AuthMode[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (GCUBESecurityManager.AuthMode c : GCUBESecurityManager.AuthMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GCUBESecurityManager.AuthMode valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2012. All Rights Reserved.