本文整理汇总了Java中org.opensaml.saml2.core.Statement类的典型用法代码示例。如果您正苦于以下问题:Java Statement类的具体用法?Java Statement怎么用?Java Statement使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Statement类属于org.opensaml.saml2.core包,在下文中一共展示了Statement类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: processChildElement
import org.opensaml.saml2.core.Statement; //导入依赖的package包/类
/** {@inheritDoc} */
protected void processChildElement(XMLObject parentObject, XMLObject childObject) throws UnmarshallingException {
Assertion assertion = (Assertion) parentObject;
if (childObject instanceof Issuer) {
assertion.setIssuer((Issuer) childObject);
} else if (childObject instanceof Signature) {
assertion.setSignature((Signature) childObject);
} else if (childObject instanceof Subject) {
assertion.setSubject((Subject) childObject);
} else if (childObject instanceof Conditions) {
assertion.setConditions((Conditions) childObject);
} else if (childObject instanceof Advice) {
assertion.setAdvice((Advice) childObject);
} else if (childObject instanceof Statement) {
assertion.getStatements().add((Statement) childObject);
} else {
super.processChildElement(parentObject, childObject);
}
}
开发者ID:lamsfoundation,项目名称:lams,代码行数:21,代码来源:AssertionUnmarshaller.java
示例2: buildObject
import org.opensaml.saml2.core.Statement; //导入依赖的package包/类
/** {@inheritDoc} */
public XACMLAuthzDecisionStatementType buildObject() {
return buildObject(Statement.DEFAULT_ELEMENT_NAME, XACMLAuthzDecisionStatementType.TYPE_NAME);
}
开发者ID:lamsfoundation,项目名称:lams,代码行数:5,代码来源:XACMLAuthzDecisionStatementTypeImplBuilder.java
示例3: buildObject
import org.opensaml.saml2.core.Statement; //导入依赖的package包/类
/** {@inheritDoc} */
public XACMLPolicyStatementType buildObject() {
return buildObject(Statement.DEFAULT_ELEMENT_NAME, XACMLPolicyStatementType.TYPE_NAME);
}
开发者ID:lamsfoundation,项目名称:lams,代码行数:5,代码来源:XACMLPolicyStatementTypeImplBuilder.java
示例4: getStatements
import org.opensaml.saml2.core.Statement; //导入依赖的package包/类
/** {@inheritDoc} */
public List<Statement> getStatements() {
return statements;
}
开发者ID:lamsfoundation,项目名称:lams,代码行数:5,代码来源:AssertionImpl.java
示例5: AssertionImpl
import org.opensaml.saml2.core.Statement; //导入依赖的package包/类
/**
* Constructor.
*
* @param namespaceURI the namespace the element is in
* @param elementLocalName the local name of the XML element this Object represents
* @param namespacePrefix the prefix for the given namespace
*/
protected AssertionImpl(String namespaceURI, String elementLocalName, String namespacePrefix) {
super(namespaceURI, elementLocalName, namespacePrefix);
version = SAMLVersion.VERSION_20;
statements = new IndexedXMLObjectChildrenList<Statement>(this);
}
开发者ID:lamsfoundation,项目名称:lams,代码行数:13,代码来源:AssertionImpl.java
示例6: getStatements
import org.opensaml.saml2.core.Statement; //导入依赖的package包/类
public List<Statement> getStatements() {
return null;
}
开发者ID:amagdenko,项目名称:oiosaml.java,代码行数:5,代码来源:AssertionStubImpl.java
注:本文中的org.opensaml.saml2.core.Statement类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论