Package org.opensaml.xacml.profile.saml
Interface XACMLAuthzDecisionQueryType
- All Superinterfaces:
RequestAbstractType,SAMLObject,SignableSAMLObject,SignableXMLObject,XACMLObject,XMLObject
- All Known Implementing Classes:
XACMLAuthzDecisionQueryTypeImpl
A SAML XACML profile XACMLAuthzDecisionQuery schema type.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringCombinePolicies attribute name.static final StringElement local name.static final QNameDefault element name for XACML 1.0.static final QNameDefault element name for XACML 1.1.static final QNameDefault element name for XACML 2.0.static final QNameDefault element name for XACML 3.0.static final StringInputContextOnly attribute name.static final StringReturnContext attribute name.static final StringLocal name of the XSI type.static final QNameQName of the XSI type.XACML1.0.static final QNameQName of the XSI type.XACML1.1.static final QNameQName of the XSI type.XACML2.0.static final QNameQName of the XSI type.XACML3.0.Fields inherited from interface org.opensaml.saml.saml2.core.RequestAbstractType
CONSENT_ATTRIB_NAME, DESTINATION_ATTRIB_NAME, EXPLICIT_CONSENT, ID_ATTRIB_NAME, IMPLICIT_CONSENT, INAPPLICABLE_CONSENT, ISSUE_INSTANT_ATTRIB_NAME, ISSUE_INSTANT_ATTRIB_QNAME, OBTAINED_CONSENT, PRIOR_CONSENT, TYPE_NAME, UNAVAILABLE_CONSENT, UNSPECIFIED_CONSENT, VERSION_ATTRIB_NAME -
Method Summary
Modifier and TypeMethodDescriptionReturns if the PDP can combine policies from the query and local policies.True then use only information in the XACMLAuthzDecisionQuery, if false could use external XACML attributes.Gets the policies to be used while rendering a decision.Gets the policy sets to be used while rendering a decision.Gets the reference to the policies to be used while rendering a decision.Gets the request of the query.If true then include theRequestTypein the response.Returns if the PDP can combine policies from the query and local policies.True then use only information in the XACMLAuthzDecisionQuery, if false could use external XACML attributes.If true then include theRequestTypein the response.voidsetCombinePolicies(Boolean combinePolicies) Sets if the PDP can combine policies from this query and the one locally.voidsetCombinePolicies(XSBooleanValue combinePolicies) Sets if the PDP can combine policies from this query and the one locally.voidsetInputContextOnly(Boolean inputContextOnly) Sets if external attributes is allowed in the decision, true if it's allowed.voidsetInputContextOnly(XSBooleanValue inputContextOnly) Sets if external attributes is allowed in the decision, true if it's allowed.voidsetReferencedPolicies(ReferencedPoliciesType policies) Sets the reference to the policies to be used while rendering a decision.voidsetRequest(RequestType request) Set's the XACML Request.voidsetReturnContext(Boolean returnContext) Set's if theRequestTypeshould be included inside the request message.voidsetReturnContext(XSBooleanValue returnContext) Set's if theRequestTypeshould be included inside the request message.Methods inherited from interface org.opensaml.saml.saml2.core.RequestAbstractType
getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getVersion, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersionMethods inherited from interface org.opensaml.saml.common.SignableSAMLObject
getSignatureReferenceIDMethods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject
getSignature, isSigned, setSignatureMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
DEFAULT_ELEMENT_LOCAL_NAME
Element local name.- See Also:
-
DEFAULT_ELEMENT_NAME_XACML10
Default element name for XACML 1.0. -
DEFAULT_ELEMENT_NAME_XACML11
Default element name for XACML 1.1. -
DEFAULT_ELEMENT_NAME_XACML20
Default element name for XACML 2.0. -
DEFAULT_ELEMENT_NAME_XACML30
Default element name for XACML 3.0. -
TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
-
TYPE_NAME_XACML10
QName of the XSI type.XACML1.0. -
TYPE_NAME_XACML11
QName of the XSI type.XACML1.1. -
TYPE_NAME_XACML20
QName of the XSI type.XACML2.0. -
TYPE_NAME_XACML30
QName of the XSI type.XACML3.0. -
INPUTCONTEXTONLY_ATTRIB_NAME
InputContextOnly attribute name.- See Also:
-
RETURNCONTEXT_ATTRIB_NAME
ReturnContext attribute name.- See Also:
-
COMBINEPOLICIES_ATTRIB_NAME
CombinePolicies attribute name.- See Also:
-
-
Method Details
-
getCombinePoliciesXSBooleanValue
XSBooleanValue getCombinePoliciesXSBooleanValue()Returns if the PDP can combine policies from the query and local policies.- Returns:
- XSBooleanValue true if the PDP can combine policies from the query and locally
-
getInputContextOnlyXSBooleanValue
XSBooleanValue getInputContextOnlyXSBooleanValue()True then use only information in the XACMLAuthzDecisionQuery, if false could use external XACML attributes.- Returns:
- if the use of just attributes in the XACMLAuthzDecisionQuery is allowed
-
getPolicies
List<PolicyType> getPolicies()Gets the policies to be used while rendering a decision.- Returns:
- policies to be used while rendering a decision
-
getPolicySets
List<PolicySetType> getPolicySets()Gets the policy sets to be used while rendering a decision.- Returns:
- policy sets to be used while rendering a decision
-
getReferencedPolicies
ReferencedPoliciesType getReferencedPolicies()Gets the reference to the policies to be used while rendering a decision.- Returns:
- references to the policies to be used while rendering a decision
-
setReferencedPolicies
Sets the reference to the policies to be used while rendering a decision.- Parameters:
policies- reference to the policies to be used while rendering a decision
-
getRequest
RequestType getRequest()Gets the request of the query.- Returns:
- XACMLRequest The request inside the query
-
getReturnContextXSBooleanValue
XSBooleanValue getReturnContextXSBooleanValue()If true then include theRequestTypein the response.- Returns:
- boolean true if the
RequestTypeshould be included in the response
-
isCombinePolicies
Boolean isCombinePolicies()Returns if the PDP can combine policies from the query and local policies.- Returns:
- true if the PDP can combine policies from the query and locally
-
isInputContextOnly
Boolean isInputContextOnly()True then use only information in the XACMLAuthzDecisionQuery, if false could use external XACML attributes.- Returns:
- boolean true then use of just attributes in the XACMLAuthzDecisionQuery is allowed
-
isReturnContext
Boolean isReturnContext()If true then include theRequestTypein the response.- Returns:
- boolean if the
RequestTypeshould be included in the response
-
setCombinePolicies
Sets if the PDP can combine policies from this query and the one locally.- Parameters:
combinePolicies- If true then the PDP can combine policies from this query and the one locally
-
setCombinePolicies
Sets if the PDP can combine policies from this query and the one locally.- Parameters:
combinePolicies- If true then the PDP can combine policies from this query and the one locally
-
setInputContextOnly
Sets if external attributes is allowed in the decision, true if it's allowed.- Parameters:
inputContextOnly- if external attributes is allowed in the decision, true if it's allowed.
-
setInputContextOnly
Sets if external attributes is allowed in the decision, true if it's allowed.- Parameters:
inputContextOnly- if external attributes is allowed in the decision, true if it's allowed.
-
setRequest
Set's the XACML Request.- Parameters:
request- The request of the decision query
-
setReturnContext
Set's if theRequestTypeshould be included inside the request message.- Parameters:
returnContext- is true if theRequestTypeshould be included inside the request message
-
setReturnContext
Set's if theRequestTypeshould be included inside the request message.- Parameters:
returnContext- is true if theRequestTypeshould be included inside the request message
-