|
SwitchYard: Core 0.6.0.Beta2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SecurityPolicy>
org.switchyard.policy.SecurityPolicy
public enum SecurityPolicy
Supported types for Security Policy.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.switchyard.policy.Policy |
---|
Policy.PolicyType |
Enum Constant Summary | |
---|---|
CLIENT_AUTHENTICATION
Ensure that the client is authenticated by the server. |
|
CONFIDENTIALITY
Ensure that only authorized entities can view the contents of a message. |
Method Summary | |
---|---|
String |
getName()
Returns the string identifier for the policy. |
Policy |
getPolicyDependency()
Returns a policy which is a dependency of this Policy. |
boolean |
isCompatibleWith(Policy target)
Returns whether the policy passed in parameter is compatible with this or not. |
String |
toString()
|
static SecurityPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SecurityPolicy[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.switchyard.policy.Policy |
---|
getType |
Enum Constant Detail |
---|
public static final SecurityPolicy CLIENT_AUTHENTICATION
public static final SecurityPolicy CONFIDENTIALITY
Method Detail |
---|
public static SecurityPolicy[] values()
for (SecurityPolicy c : SecurityPolicy.values()) System.out.println(c);
public static SecurityPolicy 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 String getName()
getName
in interface Policy
public String toString()
toString
in class Enum<SecurityPolicy>
public boolean isCompatibleWith(Policy target)
isCompatibleWith
in interface Policy
target
- policy to check compatibility
public Policy getPolicyDependency()
getPolicyDependency
in interface Policy
|
SwitchYard: Core 0.6.0.Beta2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |