DateTime issueInstant = null; if (assertion.getSamlVersion().equals(SAMLVersion.VERSION_20) && assertion.getSaml2().getConditions() != null) { validFrom = assertion.getSaml2().getConditions().getNotBefore(); validTill = assertion.getSaml2().getConditions().getNotOnOrAfter(); issueInstant = assertion.getSaml2().getIssueInstant(); } else if (assertion.getSamlVersion().equals(SAMLVersion.VERSION_11) && assertion.getSaml1().getConditions() != null) { validFrom = assertion.getSaml1().getConditions().getNotBefore();
DateTime issueInstant = null; if (assertion.getSamlVersion().equals(SAMLVersion.VERSION_20) && assertion.getSaml2().getConditions() != null) { validFrom = assertion.getSaml2().getConditions().getNotBefore(); validTill = assertion.getSaml2().getConditions().getNotOnOrAfter(); issueInstant = assertion.getSaml2().getIssueInstant(); } else if (assertion.getSamlVersion().equals(SAMLVersion.VERSION_11) && assertion.getSaml1().getConditions() != null) { validFrom = assertion.getSaml1().getConditions().getNotBefore();
if (assertion.getSamlVersion().equals(SAMLVersion.VERSION_20) && assertion.getSaml2().getConditions() != null) { org.opensaml.saml2.core.Conditions conditions = } else if (assertion.getSamlVersion().equals(SAMLVersion.VERSION_11) && assertion.getSaml1().getConditions() != null) { org.opensaml.saml1.core.Conditions conditions =
AssertionWrapper samlAssertion, RequestData data ) throws WSSecurityException { if (samlAssertion.getSamlVersion().equals(SAMLVersion.VERSION_20) && samlAssertion.getSaml2().getConditions() != null && samlAssertion.getSaml2().getConditions().getOneTimeUse() != null
if (assertion.getSamlVersion().equals(SAMLVersion.VERSION_20) && assertion.getSaml2().getConditions() != null) { org.opensaml.saml2.core.Conditions conditions = } else if (assertion.getSamlVersion().equals(SAMLVersion.VERSION_11) && assertion.getSaml1().getConditions() != null) { org.opensaml.saml1.core.Conditions conditions =
AssertionWrapper samlAssertion, RequestData data ) throws WSSecurityException { if (samlAssertion.getSamlVersion().equals(SAMLVersion.VERSION_20) && samlAssertion.getSaml2().getConditions() != null && samlAssertion.getSaml2().getConditions().getOneTimeUse() != null
if (assertion.getSamlVersion().equals(SAMLVersion.VERSION_20) && assertion.getSaml2().getAuthnStatements() != null) { List<AuthnStatement> authnStatements = assertion.getSaml2().getAuthnStatements(); subjectLocalityAddress, futureTTL); } else if (assertion.getSamlVersion().equals(SAMLVersion.VERSION_11) && assertion.getSaml1().getAuthenticationStatements() != null) { List<AuthenticationStatement> authnStatements =
if (assertion.getSamlVersion().equals(SAMLVersion.VERSION_20) && assertion.getSaml2().getAuthnStatements() != null) { List<AuthnStatement> authnStatements = assertion.getSaml2().getAuthnStatements(); subjectLocalityAddress, futureTTL); } else if (assertion.getSamlVersion().equals(SAMLVersion.VERSION_11) && assertion.getSaml1().getAuthenticationStatements() != null) { List<AuthenticationStatement> authnStatements =
public SAMLTokenPrincipal(AssertionWrapper assertion) { this.assertion = assertion; if (assertion.getSamlVersion() == SAMLVersion.VERSION_20) { org.opensaml.saml2.core.Subject subject = assertion.getSaml2().getSubject(); if (subject != null && subject.getNameID() != null) {
public SAMLTokenPrincipal(AssertionWrapper assertion) { this.assertion = assertion; if (assertion.getSamlVersion() == SAMLVersion.VERSION_20) { org.opensaml.saml2.core.Subject subject = assertion.getSaml2().getSubject(); if (subject != null && subject.getNameID() != null) {