当前位置: 首页>>代码示例>>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;未经允许,请勿转载。