当前位置: 首页>>代码示例>>Java>>正文


Java SAMLConstants.SAML1_NS属性代码示例

本文整理汇总了Java中org.opensaml.common.xml.SAMLConstants.SAML1_NS属性的典型用法代码示例。如果您正苦于以下问题:Java SAMLConstants.SAML1_NS属性的具体用法?Java SAMLConstants.SAML1_NS怎么用?Java SAMLConstants.SAML1_NS使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在org.opensaml.common.xml.SAMLConstants的用法示例。


在下文中一共展示了SAMLConstants.SAML1_NS属性的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getAssertionIDReferences

/** {@inheritDoc} */
public List<AssertionIDReference> getAssertionIDReferences() {
    //
    // The cast in the line below is unsafe. (it's checking against the erasure of l - which is List.
    // We are, howeverever guaranteed by sublist that although l is 'just' a List it
    // will only contain <AssertionIDReferences> explicit code in IndexedXMLObjectChildrenList$ListView.indexCheck
    // helps us be sure.

    QName assertionIDRefQName = new QName(SAMLConstants.SAML1_NS, AssertionIDReference.DEFAULT_ELEMENT_LOCAL_NAME);
    return (List<AssertionIDReference>) assertionChildren.subList(assertionIDRefQName);
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:11,代码来源:AdviceImpl.java

示例2: getSubjectStatements

/** {@inheritDoc} */
public List<SubjectStatement> getSubjectStatements() {
    QName statementQName = new QName(SAMLConstants.SAML1_NS, SubjectStatement.DEFAULT_ELEMENT_LOCAL_NAME);
    return (List<SubjectStatement>) statements.subList(statementQName);
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:5,代码来源:AssertionImpl.java

示例3: getAuthenticationStatements

/** {@inheritDoc} */
public List<AuthenticationStatement> getAuthenticationStatements() {
    QName statementQName = new QName(SAMLConstants.SAML1_NS, AuthenticationStatement.DEFAULT_ELEMENT_LOCAL_NAME);
    return (List<AuthenticationStatement>) statements.subList(statementQName);
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:5,代码来源:AssertionImpl.java

示例4: getAuthorizationDecisionStatements

/** {@inheritDoc} */
public List<AuthorizationDecisionStatement> getAuthorizationDecisionStatements() {
    QName statementQName = new QName(SAMLConstants.SAML1_NS, AuthorizationDecisionStatement.DEFAULT_ELEMENT_LOCAL_NAME);
    return (List<AuthorizationDecisionStatement>) statements.subList(statementQName);
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:5,代码来源:AssertionImpl.java

示例5: getAttributeStatements

/** {@inheritDoc} */
public List<AttributeStatement> getAttributeStatements() {
    QName statementQName = new QName(SAMLConstants.SAML1_NS, AttributeStatement.DEFAULT_ELEMENT_LOCAL_NAME);
    return (List<AttributeStatement>) statements.subList(statementQName);
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:5,代码来源:AssertionImpl.java

示例6: getAssertions

/** {@inheritDoc} */
public List<Assertion> getAssertions() {
    // See Comment for getAssertionIDReference as to why this unsafe casting is OK
    QName assertionQname = new QName(SAMLConstants.SAML1_NS, Assertion.DEFAULT_ELEMENT_LOCAL_NAME);
    return (List<Assertion>) assertionChildren.subList(assertionQname);
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:6,代码来源:AdviceImpl.java

示例7: buildObject

/** {@inheritDoc} */
public AssertionImpl buildObject() {
    return new AssertionImpl(SAMLConstants.SAML1_NS, Assertion.DEFAULT_ELEMENT_LOCAL_NAME, SAMLConstants.SAML1_PREFIX);
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:4,代码来源:AssertionBuilder.java

示例8: getAssertionIDReferences

/** {@inheritDoc} */
public List<AssertionIDReference> getAssertionIDReferences() {
    QName qname = new QName(SAMLConstants.SAML1_NS, AssertionIDReference.DEFAULT_ELEMENT_LOCAL_NAME);
    return (List<AssertionIDReference>) evidence.subList(qname);
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:5,代码来源:EvidenceImpl.java

示例9: getAssertions

/** {@inheritDoc} */
public List<Assertion> getAssertions() {
    QName qname = new QName(SAMLConstants.SAML1_NS, Assertion.DEFAULT_ELEMENT_LOCAL_NAME);
    return (List<Assertion>) evidence.subList(qname);
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:5,代码来源:EvidenceImpl.java

示例10: getAudienceRestrictionConditions

/** {@inheritDoc} */
public List<AudienceRestrictionCondition> getAudienceRestrictionConditions() {
    QName qname = new QName(SAMLConstants.SAML1_NS, AudienceRestrictionCondition.DEFAULT_ELEMENT_LOCAL_NAME);
    return (List<AudienceRestrictionCondition>) conditions.subList(qname);
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:5,代码来源:ConditionsImpl.java

示例11: getDoNotCacheConditions

/** {@inheritDoc} */
public List<DoNotCacheCondition> getDoNotCacheConditions() {
    QName qname = new QName(SAMLConstants.SAML1_NS, DoNotCacheCondition.DEFAULT_ELEMENT_LOCAL_NAME);
    return (List<DoNotCacheCondition>) conditions.subList(qname);
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:5,代码来源:ConditionsImpl.java


注:本文中的org.opensaml.common.xml.SAMLConstants.SAML1_NS属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。