Package com.sun.identity.xacml.common
Class XACMLSDKUtils
- java.lang.Object
-
- com.sun.identity.saml2.common.SAML2SDKUtils
-
- com.sun.identity.xacml.common.XACMLSDKUtils
-
@SupportedAll public class XACMLSDKUtils extends SAML2SDKUtils
TheXACMLSDKUtils
contains utility methods for XACML 2.0 implementation.
-
-
Field Summary
Fields Modifier and Type Field Description static String
XACML_RESOURCE_BUNDLE_NAME
static ResourceBundle
xacmlResourceBundle
-
Fields inherited from class com.sun.identity.saml2.common.SAML2SDKUtils
ACTION, ADVICE, ARTIFACT, ARTIFACT_RESOLVE, ARTIFACT_RESPONSE, ASSERTION, ASSERTION_ID_REF, ASSERTION_ID_REQUEST, ATTRIBUTE, ATTRIBUTE_QUERY, ATTRIBUTE_STATEMENT, AUDIENCE_RESTRICTION, AUTHN_CONTEXT, AUTHN_QUERY, AUTHN_REQUEST, AUTHN_STATEMENT, AUTHZ_DECISION_STATEMENT, BASEID, bundle, BUNDLE_NAME, CONDITION, CONDITIONS, ECP_RELAY_STATE, ECP_REQUEST, ECP_RESPONSE, ENCRYPTED_ASSERTION, ENCRYPTED_ATTRIBUTE, ENCRYPTED_ELEMENT, ENCRYPTEDID, EVIDENCE, EXTENSIONS, GET_COMPLETE, IDPENTRY, IDPLIST, ISSUER, KEYINFO_CONFIRMATION_DATA, LOGOUT_REQUEST, LOGOUT_RESPONSE, MANAGE_NAMEID_REQUEST, MANAGE_NAMEID_RESPONSE, NAMEID, NAMEID_POLICY, NAMEIDMAPPING_REQ, NAMEIDMAPPING_RES, NEW_ENCRYPTEDID, NEWID, ONE_TIME_USE, PROXY_RESTRICTION, random, REQUESTED_AUTHN_CONTEXT, REQUESTERID, RESPONSE, SAML2ID_PREFIX, SCOPING, SESSION_INDEX, STATEMENT, STATUS, STATUS_CODE, STATUS_DETAIL, STATUS_MESSAGE, STATUS_RESPONSE, SUBJECT, SUBJECT_CONFIRMATION, SUBJECT_CONFIRMATION_DATA, SUBJECT_LOCALITY
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
XACMLSDKUtils()
Protected contstructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Attribute
createAttribute(List values, URI attributeId, URI dataType, String issuer)
static boolean
isValidDecision(Decision decision)
static boolean
isValidDecision(String value)
static boolean
isValidMinorStatusCode(String value)
static boolean
isValidStatusCode(String value)
static boolean
isValidStatusMessage(String value)
static String
quote(String s)
-
Methods inherited from class com.sun.identity.saml2.common.SAML2SDKUtils
booleanValueOf, byteArrayToHexString, byteArrayToString, checkStatement, createSOAPMessageString, decodeXMLToDebugLog, fillInBasicAuthInfo, generateID, generateMessageHandle, getObjectInstance, getObjectInstance, getObjectInstance, getObjectInstance, hexStringToByteArray, intToTwoBytes, isSAMLDecryptionDebugEnabled, removeDeployUri, StringToBoolean, stringToByteArray, twoBytesToInt
-
-
-
-
Field Detail
-
XACML_RESOURCE_BUNDLE_NAME
public static final String XACML_RESOURCE_BUNDLE_NAME
- See Also:
- Constant Field Values
-
xacmlResourceBundle
public static ResourceBundle xacmlResourceBundle
-
-
Method Detail
-
createAttribute
public static Attribute createAttribute(List values, URI attributeId, URI dataType, String issuer) throws XACMLException
- Throws:
XACMLException
-
isValidDecision
public static boolean isValidDecision(Decision decision)
-
isValidDecision
public static boolean isValidDecision(String value)
-
isValidStatusMessage
public static boolean isValidStatusMessage(String value)
-
isValidStatusCode
public static boolean isValidStatusCode(String value)
-
isValidMinorStatusCode
public static boolean isValidMinorStatusCode(String value)
-
-