Package com.sun.xml.wss.impl.policy
Class PolicyAlternatives
java.lang.Object
com.sun.xml.wss.impl.policy.PolicyAlternatives
- All Implemented Interfaces:
SecurityPolicy
- Author:
- vbkumarjayanti
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal List<MessagePolicy>
getType()
Get the type of the policy.boolean
isEmpty()
-
Constructor Details
-
PolicyAlternatives
-
-
Method Details
-
getType
Description copied from interface:SecurityPolicy
Get the type of the policy.Implementation Note: Useful to avoid instanceof checks and String.equals checks
- Specified by:
getType
in interfaceSecurityPolicy
- Returns:
- the type of the policy
-
getSecurityPolicy
-
isEmpty
public boolean isEmpty()- Returns:
- true if empty
-