|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ProxyChainType>
eu.emi.security.authn.x509.proxy.ProxyChainType
public enum ProxyChainType
Specifies the type of the proxy chain.
Enum Constant Summary | |
---|---|
DRAFT_RFC
A chain contains only draft RFC proxies. |
|
LEGACY
A chain contains only legacy Globus 2 proxies. |
|
MIXED
A chain contains proxies of different types (legacy, draft RFC or RFC). |
|
RFC3820
A chain contains only RFC 3820 conformant proxies. |
Method Summary | |
---|---|
ProxyType |
toProxyType()
Converts this chain type to ProxyType . |
static ProxyChainType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ProxyChainType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
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 |
Enum Constant Detail |
---|
public static final ProxyChainType LEGACY
public static final ProxyChainType DRAFT_RFC
public static final ProxyChainType RFC3820
public static final ProxyChainType MIXED
Method Detail |
---|
public static ProxyChainType[] values()
for (ProxyChainType c : ProxyChainType.values()) System.out.println(c);
public static ProxyChainType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic ProxyType toProxyType() throws IllegalStateException
ProxyType
. Works only if the
chain is consistent, i.e. if all proxies are of the same type.
ProxyType
IllegalStateException
- if this enum value is MIXED
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |