Uses of Class
com.sun.identity.xacml.common.XACMLException
-
Packages that use XACMLException Package Description com.sun.identity.xacml.client Defines classes to handle XACML requests.com.sun.identity.xacml.common Defines common XACML Utilities and Constantscom.sun.identity.xacml.context Defines XACML2 context classescom.sun.identity.xacml.context.impl Defines XACML Context implementations.com.sun.identity.xacml.policy Defines XACML Policy classes.com.sun.identity.xacml.policy.impl Defines XACML Policy implementations.com.sun.identity.xacml.saml2 Defines XACML interfaces for SAMLv2com.sun.identity.xacml.saml2.impl Defines XACML implementations for SAMLv2. -
-
Uses of XACMLException in com.sun.identity.xacml.client
Methods in com.sun.identity.xacml.client that throw XACMLException Modifier and Type Method Description static XACMLRequestProcessor
XACMLRequestProcessor. getInstance()
Returns an instance ofXACMLRequestProcessor
Response
XACMLRequestProcessor. processRequest(Request xacmlRequest, String pdpEntityId, String pepEntityId)
Processes an XACML context Request and returns an XACML context Response. -
Uses of XACMLException in com.sun.identity.xacml.common
Methods in com.sun.identity.xacml.common that throw XACMLException Modifier and Type Method Description static Attribute
XACMLSDKUtils. createAttribute(List values, URI attributeId, URI dataType, String issuer)
-
Uses of XACMLException in com.sun.identity.xacml.context
Methods in com.sun.identity.xacml.context that throw XACMLException Modifier and Type Method Description void
Response. addResult(Result result)
Adds aResult
to this objectAction
ContextFactory. createAction(String xml)
Returns a new instance ofAction
.Action
ContextFactory. createAction(Element elem)
Returns a new instance ofAction
.Attribute
ContextFactory. createAttribute(String xml)
Returns a new instance ofAttribute
.Attribute
ContextFactory. createAttribute(Element elem)
Returns a new instance ofAttribute
.Decision
ContextFactory. createDecision()
Returns a new instance ofDecision
.Decision
ContextFactory. createDecision(String xml)
Returns a new instance ofDecision
The return object is immutable.Decision
ContextFactory. createDecision(Element elem)
Returns a new instance ofDecision
.Environment
ContextFactory. createEnvironment(String xml)
Returns a new instance ofEnvironment
.Environment
ContextFactory. createEnvironment(Element elem)
Returns a new instance ofEnvironment
.Request
ContextFactory. createRequest(String xml)
Returns a new instance ofRequest
The return object is immutable.Request
ContextFactory. createRequest(Element elem)
Returns a new instance ofRequest
.Resource
ContextFactory. createResource(String xml)
Returns a new instance ofResource
The return object is immutable.Resource
ContextFactory. createResource(Element elem)
Returns a new instance ofResource
.Response
ContextFactory. createResponse()
Returns a new instance ofResponse
.Response
ContextFactory. createResponse(String xml)
Returns a new instance ofResponse
The return object is immutable.Response
ContextFactory. createResponse(Element elem)
Returns a new instance ofResponse
.Result
ContextFactory. createResult()
Returns a new instance ofResult
.Result
ContextFactory. createResult(String xml)
Returns a new instance ofResult
The return object is immutable.Result
ContextFactory. createResult(Element elem)
Returns a new instance ofResult
.Status
ContextFactory. createStatus()
Returns a new instance ofStatus
.Status
ContextFactory. createStatus(String xml)
Returns a new instance ofStatus
The return object is immutable.Status
ContextFactory. createStatus(Element elem)
Returns a new instance ofStatus
.StatusCode
ContextFactory. createStatusCode()
Returns a new instance ofStatusCode
.StatusCode
ContextFactory. createStatusCode(String xml)
Returns a new instance ofStatusCode
The return object is immutable.StatusCode
ContextFactory. createStatusCode(Element elem)
Returns a new instance ofStatusCode
.StatusDetail
ContextFactory. createStatusDetail()
Returns a new instance ofStatusDetail
.StatusDetail
ContextFactory. createStatusDetail(String xml)
Returns a new instance ofStatusDetail
The return object is immutable.StatusDetail
ContextFactory. createStatusDetail(Element elem)
Returns a new instance ofStatusDetail
.StatusMessage
ContextFactory. createStatusMessage()
Returns a new instance ofStatusMessage
.StatusMessage
ContextFactory. createStatusMessage(String xml)
Returns a new instance ofStatusMessage
The return object is immutable.StatusMessage
ContextFactory. createStatusMessage(Element elem)
Returns a new instance ofStatusMessage
.Subject
ContextFactory. createSubject(String xml)
Returns a new instance ofSubject
.Subject
ContextFactory. createSubject(Element elem)
Returns a new instance ofSubject
.XACMLAuthzDecisionQuery
ContextFactory. createXACMLAuthzDecisionQuery(String xml)
Returns a new instance ofXACMLAuthzDecisionQuery
.XACMLAuthzDecisionQuery
ContextFactory. createXACMLAuthzDecisionQuery(Element elem)
Returns a new instance ofXACMLAuthzDecisionQuery
.XACMLAuthzDecisionStatement
ContextFactory. createXACMLAuthzDecisionStatement(String xml)
Returns a new instance ofXACMLAuthzDecisionStatement
.XACMLAuthzDecisionStatement
ContextFactory. createXACMLAuthzDecisionStatement(Element elem)
Returns a new instance ofXACMLAuthzDecisionStatement
.void
Request. setAction(Action action)
Sets the instance ofAction
void
Attribute. setAttributeId(URI attributeID)
Sets the attributeId of theAttribute
.void
MissingAttributeDetail. setAttributeId(String attributeId)
Sets theAttributeId
s of this objectvoid
Action. setAttributes(List attributes)
Sets theAttribute
elements of this objectvoid
Environment. setAttributes(List attributes)
Sets theAttribute
elements of this objectvoid
Resource. setAttributes(List attributes)
Sets theAttribute
elements of this objectvoid
ResourceContent. setAttributes(List attributes)
Sets theAttribute
elements of this objectvoid
Subject. setAttributes(List attributes)
Sets theAttribute
elements of this objectvoid
Attribute. setAttributeStringValues(List attrValues)
Sets the attribute values for this objectvoid
Attribute. setAttributeValues(List attrValues)
Sets theAttributeValue
elements of this objectvoid
MissingAttributeDetail. setAttributeValues(List values)
Sets theAttributeValue
s of this objectvoid
Attribute. setDataType(URI dataType)
Sets the data type of the contents of theAttributeValue
elements.void
MissingAttributeDetail. setDataType(String dataType)
Sets theDataType
s of this objectvoid
Result. setDecision(Decision decision)
Sets theDecision
of this objectvoid
StatusDetail. setElement(Element element)
void
Request. setEnvironment(Environment env)
Sets the instance ofEnvironment
void
Attribute. setIssuer(String issuer)
Sets the issuer of theAttribute
.void
MissingAttributeDetail. setIssuer(String issuer)
Sets theIssuer
s of this objectvoid
StatusCode. setMinorCodeValue(String minorCodeValue)
Sets theminorCodeValue
of this objectvoid
Result. setObligations(Obligations obligations)
Sets theObligations
of this objectvoid
Resource. setResourceContent(Element resourceContent)
Sets the resource content of this objectvoid
ResourceContent. setResourceContent(String resourceContent)
Sets the resource content of this objectvoid
Result. setResourceId(String resourceId)
Sets theResourceid
s of this objectvoid
Request. setResources(List resources)
Sets the one to manyResource
elements of this objectvoid
Response. setResults(List results)
Sets theResult
s of this objectvoid
Result. setStatus(Status status)
Sets theStatus
of this objectvoid
Status. setStatusCode(StatusCode statusCode)
Sets theStatusCode
of this objectvoid
Status. setStatusDetail(StatusDetail statusDetail)
Sets theStatusDetail
of this objectvoid
Status. setStatusMessage(StatusMessage statusMessage)
Sets theStatusMessage
of this objectvoid
Subject. setSubjectCategory(URI subjectCategory)
Sets theSubjectCategory
of this objectvoid
Request. setSubjects(List subjects)
Sets the one to manySubject
elements of this objectvoid
Decision. setValue(String value)
Sets thevalue
s of this objectvoid
StatusCode. setValue(String value)
Sets thevalue
of this objectvoid
StatusMessage. setValue(String value)
Sets thevalue
of this objectdefault String
Action. toXMLString()
Returns a string representation of this objectdefault String
Action. toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns aString
representation of this objectdefault String
Attribute. toXMLString()
Returns a string representation of this object.default String
Attribute. toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns aString
representation of this objectdefault String
Decision. toXMLString()
Returns a string representationdefault String
Decision. toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns a string representationdefault String
Environment. toXMLString()
Returns a string representation of this objectdefault String
Environment. toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns aString
representation of this objectdefault String
MissingAttributeDetail. toXMLString()
Returns a string representation of this objectdefault String
MissingAttributeDetail. toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns aString
representation of this objectdefault String
Request. toXMLString()
Returns a string representation of this objectdefault String
Request. toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns aString
representation of this objectdefault String
Resource. toXMLString()
Returns a string representation of this objectdefault String
Resource. toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns aString
representation of this objectdefault String
ResourceContent. toXMLString()
Returns a string representation of this objectdefault String
ResourceContent. toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns aString
representation of this objectdefault String
Response. toXMLString()
Returns a string representationdefault String
Response. toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns a string representationdefault String
Result. toXMLString()
Returns a string representationdefault String
Result. toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns a string representationdefault String
Status. toXMLString()
Returns a string representationdefault String
Status. toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns a string representationdefault String
StatusCode. toXMLString()
Returns a string representationdefault String
StatusCode. toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns a string representationdefault String
StatusDetail. toXMLString()
Returns a string representationdefault String
StatusDetail. toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns a string representationdefault String
StatusMessage. toXMLString()
Returns a string representationdefault String
StatusMessage. toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns a string representationdefault String
Subject. toXMLString()
Returns a string representation of this objectdefault String
Subject. toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns aString
representation of this object -
Uses of XACMLException in com.sun.identity.xacml.context.impl
Methods in com.sun.identity.xacml.context.impl that throw XACMLException Modifier and Type Method Description void
RequestImpl. setAction(Action argAction)
Sets the instance ofAction
void
AttributeImpl. setAttributeId(URI attributeId)
Sets the attributeId of theAttribute
.void
ActionImpl. setAttributes(List attributes)
Sets theAttribute
elements of this objectvoid
EnvironmentImpl. setAttributes(List attributes)
Sets theAttribute
elements of this objectvoid
ResourceImpl. setAttributes(List attributes)
Sets theAttribute
elements of this objectvoid
SubjectImpl. setAttributes(List attributes)
Sets theAttribute
elements of this objectvoid
AttributeImpl. setAttributeStringValues(List stringValues)
Sets the attribute values for this objectvoid
AttributeImpl. setAttributeValues(List values)
Sets theAttributeValue
elements of this objectvoid
AttributeImpl. setDataType(URI dataType)
Sets the data type of the contents of theAttributeValue
elements.void
StatusDetailImpl. setElement(Element element)
void
RequestImpl. setEnvironment(Environment argEnv)
Sets the instance of theEnvironment
void
AttributeImpl. setIssuer(String issuer)
Sets the issuer of theAttribute
.void
StatusCodeImpl. setMinorCodeValue(String minorCodeValue)
Sets theminorCodeValue
of this objectvoid
ResourceImpl. setResourceContent(Element resourceContent)
Sets the ResourceContent of this Resourcevoid
RequestImpl. setResources(List resources)
Sets the one to manyResource
elements of this objectvoid
StatusImpl. setStatusCode(StatusCode statusCode)
Sets theStatusCode
of this objectvoid
StatusImpl. setStatusDetail(StatusDetail statusDetail)
Sets theStatusDetail
of this objectvoid
StatusImpl. setStatusMessage(StatusMessage statusMessage)
Sets theStatusMessage
of this objectvoid
SubjectImpl. setSubjectCategory(URI subjectCategory)
Sets theSubjectCategory
of this objectvoid
RequestImpl. setSubjects(List subjects)
Sets the one to manySubject
elements of this objectvoid
DecisionImpl. setValue(String value)
Sets thevalue
s of this objectvoid
StatusCodeImpl. setValue(String value)
Sets thevalue
of this objectvoid
StatusMessageImpl. setValue(String value)
Sets thevalue
of this objectConstructors in com.sun.identity.xacml.context.impl that throw XACMLException Constructor Description ActionImpl(String xml)
This constructor is used to buildAction
object from a XML string.ActionImpl(Element element)
This constructor is used to buildAction
object from a block of existing XML that has already been built into a DOM.AttributeImpl(String xml)
This constructor is used to buildAttribute
object from a XML string.AttributeImpl(Element element)
This constructor is used to buildRequest
object from a block of existing XML that has already been built into a DOM.DecisionImpl()
Constructs aDecision
objectDecisionImpl(String xml)
Constructs aDecision
object from an XML stringDecisionImpl(Element element)
Constructs aDecision
object from an XML DOM elementEnvironmentImpl(String xml)
This constructor is used to buildEnvironment
object from a XML string.EnvironmentImpl(Element element)
This constructor is used to buildEnvironment
object from a block of existing XML that has already been built into a DOM.RequestImpl(String xml)
This constructor is used to buildRequest
object from a XML string.RequestImpl(Element element)
This constructor is used to buildRequest
object from a block of existing XML that has already been built into a DOM.ResourceImpl(String xml)
This constructor is used to buildResource
object from a XML string.ResourceImpl(Element element)
This constructor is used to buildresource
object from a block of existing XML that has already been built into a DOM.StatusCodeImpl()
Constructs aStatusCode
objectStatusCodeImpl(String xml)
Constructs aStatusCode
object from an XML stringStatusCodeImpl(Element element)
Constructs aStatusCode
object from an XML DOM elementStatusDetailImpl()
Constructs aStatusDetail
objectStatusDetailImpl(String xml)
Constructs aStatusDetail
object from an XML stringStatusDetailImpl(Element element)
Constructs aStatusDetail
object from an XML DOM elementStatusImpl()
Constructs aStatus
objectStatusImpl(String xml)
Constructs aStatus
object from an XML stringStatusImpl(Element element)
Constructs aStatus
object from an XML DOM elementStatusMessageImpl()
Constructs aStatusMessage
objectStatusMessageImpl(String xml)
Constructs aStatusMessage
object from an XML stringStatusMessageImpl(Element element)
Constructs aStatusMessage
object from an XML DOM elementSubjectImpl(String xml)
This constructor is used to buildSubject
object from a XML string.SubjectImpl(Element element)
This constructor is used to buildSubject
object from a block of existing XML that has already been built into a DOM. -
Uses of XACMLException in com.sun.identity.xacml.policy
Methods in com.sun.identity.xacml.policy that throw XACMLException Modifier and Type Method Description void
Obligations. addObligation(Obligation obligation)
Obligation
PolicyFactory. createObligation(String xml)
Returns a new instance ofObligation
The return object is immutable.Obligation
PolicyFactory. createObligation(Element elem)
Returns a new instance ofObligation
.Obligations
PolicyFactory. createObligations(String xml)
Returns a new instance ofObligations
The return object is immutable.Obligations
PolicyFactory. createObligations(Element elem)
Returns a new instance ofObligations
.void
Obligation. setAttributeAssignments(List attributeAssignments)
Sets XML elements corresponding toAttributeAssignment
elements for this obligation.void
Obligation. setFulfillOn(String fulfillOn)
Sets the FullFillOn effect type of this obligationvoid
Obligation. setObligationId(URI obligationId)
Sets the ObligationId of theObligation
void
Obligations. setObligations(List obligations)
Sets theObligation
objects of thisObligations
default String
Obligation. toXMLString()
Returns a string representation of this objectdefault String
Obligation. toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns a string representation of this objectdefault String
Obligations. toXMLString()
Returns a string representation of this objectdefault String
Obligations. toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns a string representation of this object -
Uses of XACMLException in com.sun.identity.xacml.policy.impl
Methods in com.sun.identity.xacml.policy.impl that throw XACMLException Modifier and Type Method Description void
ObligationsImpl. addObligation(Obligation obligation)
Adds anObligation
to this object.void
ObligationImpl. setAttributeAssignments(List attributeAssignments)
Sets XML elements corresponding toAttributeAssignment
elements for this obligation.void
ObligationImpl. setFulfillOn(String fulfillOn)
Sets the FullFillOn effect type of this obligationvoid
ObligationImpl. setObligationId(URI obligationId)
Sets the ObligationId of theObligation
void
ObligationsImpl. setObligations(List obligations)
Sets theObligation
objects of thisObligations
Constructors in com.sun.identity.xacml.policy.impl that throw XACMLException Constructor Description ObligationImpl(String xml)
This constructor is used to buildObligation
object from an XML string.ObligationImpl(Element element)
This constructor is used to buildObligationImpl
object from a block of existing XML that has already been built into a DOM.ObligationsImpl(String xml)
Constructs anObligationsImpl
object from an XML stringObligationsImpl(Element element)
Constructs anObligationsImpl
object from an XML DOM element -
Uses of XACMLException in com.sun.identity.xacml.saml2
Methods in com.sun.identity.xacml.saml2 that throw XACMLException Modifier and Type Method Description Request
XACMLAuthzDecisionStatement. getRequest()
ReturnsRequest
element of this objectvoid
XACMLAuthzDecisionQuery. setInputContextOnly(boolean inputContextOnly)
Sets the XML attribute boolean value which governs the source of information that the PDP is allowed to use in making an authorization decision.void
XACMLAuthzDecisionQuery. setRequest(Request request)
Sets thexacml-context:Request
element of this objectvoid
XACMLAuthzDecisionStatement. setRequest(Request request)
SetsRequest
element of this objectvoid
XACMLAuthzDecisionStatement. setResponse(Response response)
SetsResponse
element of this objectvoid
XACMLAuthzDecisionQuery. setReturnContext(boolean returnContext)
Sets the boolean value for this XML attributedefault String
XACMLAuthzDecisionStatement. toXMLString()
Returns a String representation of the element.default String
XACMLAuthzDecisionStatement. toXMLString(boolean includeNS, boolean declareNS)
Returns a String representation of the element. -
Uses of XACMLException in com.sun.identity.xacml.saml2.impl
Methods in com.sun.identity.xacml.saml2.impl that throw XACMLException Modifier and Type Method Description void
XACMLAuthzDecisionQueryImpl. setInputContextOnly(boolean inputContextOnly)
Sets the XML attribute boolean value which governs the source of information that the PDP is allowed to use in making an authorization decision.void
XACMLAuthzDecisionQueryImpl. setRequest(Request request)
Sets thexacml-context:Request
element of this objectvoid
XACMLAuthzDecisionQueryImpl. setReturnContext(boolean returnContext)
Sets the boolean value for this XML attribute
-