當前位置: 首頁>>代碼示例>>Java>>正文


Java RequestType類代碼示例

本文整理匯總了Java中org.opensaml.xacml.ctx.RequestType的典型用法代碼示例。如果您正苦於以下問題:Java RequestType類的具體用法?Java RequestType怎麽用?Java RequestType使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


RequestType類屬於org.opensaml.xacml.ctx包,在下文中一共展示了RequestType類的13個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: processChildElement

import org.opensaml.xacml.ctx.RequestType; //導入依賴的package包/類
/** {@inheritDoc} */
protected void processChildElement(XMLObject parentObject, XMLObject childObject) throws UnmarshallingException {
    XACMLAuthzDecisionQueryType xacmlauthzdecisionquery = (XACMLAuthzDecisionQueryType) parentObject;

    if (childObject instanceof RequestType) {
        xacmlauthzdecisionquery.setRequest((RequestType) childObject);
    } else if (childObject instanceof PolicyType) {
        xacmlauthzdecisionquery.getPolicies().add((PolicyType) childObject);
    } else if (childObject instanceof PolicySetType) {
        xacmlauthzdecisionquery.getPolicySets().add((PolicySetType) childObject);
    } else if (childObject instanceof ReferencedPoliciesType) {
        xacmlauthzdecisionquery.setReferencedPolicies((ReferencedPoliciesType) childObject);
    } else {
        super.processChildElement(parentObject, childObject);
    }
}
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:17,代碼來源:XACMLAuthzDecisionQueryTypeUnmarshaller.java

示例2: processChildElement

import org.opensaml.xacml.ctx.RequestType; //導入依賴的package包/類
/** {@inheritDoc} */
protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
        throws UnmarshallingException {
    RequestType request = (RequestType) parentXMLObject;

    if (childXMLObject instanceof ActionType) {
        request.setAction((ActionType) childXMLObject);
    } else if (childXMLObject instanceof EnvironmentType) {
        request.setEnvironment((EnvironmentType) childXMLObject);
    } else if (childXMLObject instanceof SubjectType) {
        request.getSubjects().add((SubjectType) childXMLObject);
    } else if (childXMLObject instanceof ResourceType) {
        request.getResources().add((ResourceType) childXMLObject);
    } else {
        super.processChildElement(parentXMLObject, childXMLObject);
    }
}
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:18,代碼來源:RequestTypeUnmarshaller.java

示例3: processChildElement

import org.opensaml.xacml.ctx.RequestType; //導入依賴的package包/類
/** {@inheritDoc} */
protected void processChildElement(XMLObject parentObject, XMLObject childObject) throws UnmarshallingException {
    XACMLPolicyQueryType xacmlpolicyquery = (XACMLPolicyQueryType) parentObject;

    if (childObject instanceof RequestType) {
        xacmlpolicyquery.getRequests().add((RequestType) childObject);
    } else if (childObject.getElementQName().equals(IdReferenceType.POLICY_ID_REFERENCE_ELEMENT_NAME)) {
        xacmlpolicyquery.getPolicyIdReferences().add((IdReferenceType) childObject);
    } else if (childObject.getElementQName().equals(IdReferenceType.POLICY_SET_ID_REFERENCE_ELEMENT_NAME)) {
        xacmlpolicyquery.getPolicySetIdReferences().add((IdReferenceType) childObject);
    } else {
        super.processChildElement(parentObject, childObject);
    }
}
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:15,代碼來源:XACMLPolicyQueryTypeUnmarshaller.java

示例4: processChildElement

import org.opensaml.xacml.ctx.RequestType; //導入依賴的package包/類
/** {@inheritDoc} */
protected void processChildElement(XMLObject parentObject, XMLObject childObject) throws UnmarshallingException {
    XACMLAuthzDecisionStatementType xacmlauthzdecisionstatement = (XACMLAuthzDecisionStatementType) parentObject;

    if (childObject instanceof RequestType) {
        xacmlauthzdecisionstatement.setRequest((RequestType) childObject);
    } else if (childObject instanceof ResponseType) {
        xacmlauthzdecisionstatement.setResponse((ResponseType) childObject);
    } else {
        super.processChildElement(parentObject, childObject);
    }
}
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:13,代碼來源:XACMLAuthzDecisionStatementTypeUnmarshaller.java

示例5: getRequest

import org.opensaml.xacml.ctx.RequestType; //導入依賴的package包/類
/** {@inheritDoc} */
public RequestType getRequest() {
    return request;
}
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:5,代碼來源:XACMLAuthzDecisionQueryTypeImpl.java

示例6: setRequest

import org.opensaml.xacml.ctx.RequestType; //導入依賴的package包/類
/** {@inheritDoc} */
public void setRequest(RequestType request) {
    this.request = prepareForAssignment(this.request, request);
}
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:5,代碼來源:XACMLAuthzDecisionQueryTypeImpl.java

示例7: getRequests

import org.opensaml.xacml.ctx.RequestType; //導入依賴的package包/類
/** {@inheritDoc} */
public List<RequestType> getRequests() {
    return (List<RequestType>) choiceGroup.subList(RequestType.DEFAULT_ELEMENT_NAME);
}
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:5,代碼來源:XACMLPolicyQueryTypeImpl.java

示例8: buildObject

import org.opensaml.xacml.ctx.RequestType; //導入依賴的package包/類
/** {@inheritDoc} */
public RequestType buildObject() {
    return buildObject(RequestType.DEFAULT_ELEMENT_NAME);
}
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:5,代碼來源:RequestTypeImplBuilder.java

示例9: getRequests

import org.opensaml.xacml.ctx.RequestType; //導入依賴的package包/類
/**
 * Gets the Requests inside the policy query.
 * 
 * @return the XACML Request
 */
public List<RequestType> getRequests();
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:7,代碼來源:XACMLPolicyQueryType.java

示例10: getRequest

import org.opensaml.xacml.ctx.RequestType; //導入依賴的package包/類
/**
 * Get's the {@link RequestType} from the <code>XACMLAuthzDecisionStatement</code>.
 * 
 * @return the {@link RequestType} inside the <code>XACMLAuthzDecisionStatement</code>
 */
public RequestType getRequest();
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:7,代碼來源:XACMLAuthzDecisionStatementType.java

示例11: setRequest

import org.opensaml.xacml.ctx.RequestType; //導入依賴的package包/類
/**
 * Sets a {@link ResponseType} to the <code>XACMLAuthzDecisionStatement</code>.
 * 
 * @param request {@link RequestType}
 */
public void setRequest(RequestType request);
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:7,代碼來源:XACMLAuthzDecisionStatementType.java

示例12: getRequest

import org.opensaml.xacml.ctx.RequestType; //導入依賴的package包/類
/**
 * Gets the request of the query.
 * 
 * @return XACMLRequest The request inside the query
 */
public RequestType getRequest();
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:7,代碼來源:XACMLAuthzDecisionQueryType.java

示例13: setRequest

import org.opensaml.xacml.ctx.RequestType; //導入依賴的package包/類
/**
 * Set's the XACML Request.
 * 
 * @param request The request of the decision query
 */
public void setRequest(RequestType request);
 
開發者ID:lamsfoundation,項目名稱:lams,代碼行數:7,代碼來源:XACMLAuthzDecisionQueryType.java


注:本文中的org.opensaml.xacml.ctx.RequestType類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。