Java Code Examples for org.opensaml.common.xml.SAMLConstants#SAML20_PREFIX
The following examples show how to use
org.opensaml.common.xml.SAMLConstants#SAML20_PREFIX .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ConditionsImpl.java From lams with GNU General Public License v2.0 | 5 votes |
/** {@inheritDoc} */ public OneTimeUse getOneTimeUse() { QName conditionQName = new QName(SAMLConstants.SAML20_NS, OneTimeUse.DEFAULT_ELEMENT_LOCAL_NAME, SAMLConstants.SAML20_PREFIX); List<OneTimeUse> list = (List<OneTimeUse>) conditions.subList(conditionQName); if (list == null || list.size() == 0) { return null; } else { return list.get(0); } }
Example 2
Source File: ConditionsImpl.java From lams with GNU General Public License v2.0 | 5 votes |
/** {@inheritDoc} */ public ProxyRestriction getProxyRestriction() { QName conditionQName = new QName(SAMLConstants.SAML20_NS, ProxyRestriction.DEFAULT_ELEMENT_LOCAL_NAME, SAMLConstants.SAML20_PREFIX); List<ProxyRestriction> list = (List<ProxyRestriction>) conditions.subList(conditionQName); if (list == null || list.size() == 0) { return null; } else { return list.get(0); } }
Example 3
Source File: AssertionImpl.java From lams with GNU General Public License v2.0 | 4 votes |
/** {@inheritDoc} */ public List<AuthnStatement> getAuthnStatements() { QName statementQName = new QName(SAMLConstants.SAML20_NS, AuthnStatement.DEFAULT_ELEMENT_LOCAL_NAME, SAMLConstants.SAML20_PREFIX); return (List<AuthnStatement>) statements.subList(statementQName); }
Example 4
Source File: AssertionImpl.java From lams with GNU General Public License v2.0 | 4 votes |
/** {@inheritDoc} */ public List<AuthzDecisionStatement> getAuthzDecisionStatements() { QName statementQName = new QName(SAMLConstants.SAML20_NS, AuthzDecisionStatement.DEFAULT_ELEMENT_LOCAL_NAME, SAMLConstants.SAML20_PREFIX); return (List<AuthzDecisionStatement>) statements.subList(statementQName); }
Example 5
Source File: AssertionImpl.java From lams with GNU General Public License v2.0 | 4 votes |
/** {@inheritDoc} */ public List<AttributeStatement> getAttributeStatements() { QName statementQName = new QName(SAMLConstants.SAML20_NS, AttributeStatement.DEFAULT_ELEMENT_LOCAL_NAME, SAMLConstants.SAML20_PREFIX); return (List<AttributeStatement>) statements.subList(statementQName); }
Example 6
Source File: ConditionsImpl.java From lams with GNU General Public License v2.0 | 4 votes |
/** {@inheritDoc} */ public List<AudienceRestriction> getAudienceRestrictions() { QName conditionQName = new QName(SAMLConstants.SAML20_NS, AudienceRestriction.DEFAULT_ELEMENT_LOCAL_NAME, SAMLConstants.SAML20_PREFIX); return (List<AudienceRestriction>) conditions.subList(conditionQName); }