/** * @see SAML2HandlerRequest#getSAML2Object() */ public SAML2Object getSAML2Object() { return (SAML2Object) this.documentHolder.getSamlObject(); }
public Document getRequestDocument() { return this.documentHolder.getSamlDocument(); }
private String generateId() { return IDGenerator.create("ID_"); }
/** * @see org.picketlink.identity.federation.core.interfaces.ProtocolContext#getQName() */ public QName getQName() { String localPart = JBossSAMLConstants.ASSERTION.get(); String ns = tokenType(); return new QName(ns, localPart); }
/** * Given a {@link org.picketlink.identity.federation.core.saml.v2.common.SAMLProtocolContext}, issue a * {@link org.picketlink.identity.federation.saml.v2.assertion.AssertionType} using the STS * * @param samlProtocolContext * @return * @throws ProcessingException */ protected AssertionType issueSAMLAssertion(SAMLProtocolContext samlProtocolContext) throws ProcessingException { // Check if the STS is null checkAndSetUpSTS(); sts.issueToken(samlProtocolContext); return samlProtocolContext.getIssuedAssertion(); }
/** * @see SAML2HandlerRequest#getSAML2Object() */ public SAML2Object getSAML2Object() { return (SAML2Object) this.documentHolder.getSamlObject(); }
/** * Create an id that is prefixed by a string * @param prefix * @return an id * @throws IllegalArgumentException when prefix is null */ public static String create(String prefix) { if (prefix == null) throw new IllegalArgumentException(ErrorCodes.NULL_ARGUMENT + "prefix"); StringBuilder sb = new StringBuilder(prefix); sb.append(IDGenerator.create()); return sb.toString(); } }
public Document getRequestDocument() { return this.documentHolder.getSamlDocument(); }
/** * @see org.picketlink.identity.federation.core.interfaces.ProtocolContext#getQName() */ public QName getQName() { String localPart = JBossSAMLConstants.ASSERTION.get(); String ns = tokenType(); return new QName( ns, localPart ); }
/** * Given a {@link org.picketlink.identity.federation.core.saml.v2.common.SAMLProtocolContext}, issue a * {@link org.picketlink.identity.federation.saml.v2.assertion.AssertionType} using the STS * * @param samlProtocolContext * @return * @throws ProcessingException */ protected AssertionType issueSAMLAssertion(SAMLProtocolContext samlProtocolContext) throws ProcessingException { // Check if the STS is null checkAndSetUpSTS(); sts.issueToken(samlProtocolContext); return samlProtocolContext.getIssuedAssertion(); }
/** * @see SAML2HandlerRequest#getSAML2Object() */ public SAML2Object getSAML2Object() { return (SAML2Object) this.documentHolder.getSamlObject(); } /**
/** * Create an id that is prefixed by a string * * @param prefix * @return an id * @throws IllegalArgumentException when prefix is null */ public static String create(String prefix) { if (prefix == null) throw logger.nullArgumentError("prefix"); StringBuilder sb = new StringBuilder(prefix); sb.append(IDGenerator.create()); return sb.toString(); } }
public Document getRequestDocument() { return this.documentHolder.getSamlDocument(); }
/** * @see org.picketlink.identity.federation.core.interfaces.ProtocolContext#getQName() */ public QName getQName() { String localPart = JBossSAMLConstants.ASSERTION.get(); String ns = tokenType(); return new QName(ns, localPart); }
/** * @see SAML2HandlerRequest#getSAML2Object() */ public SAML2Object getSAML2Object() { return (SAML2Object) this.documentHolder.getSamlObject(); } /**
public Document getRequestDocument() { return this.documentHolder.getSamlDocument(); }
/** * @see org.picketlink.identity.federation.core.interfaces.ProtocolContext#getQName() */ public QName getQName() { String localPart = JBossSAMLConstants.ASSERTION.get(); String ns = tokenType(); return new QName( ns, localPart ); }
/** * @see SAML2HandlerRequest#getSAML2Object() */ public SAML2Object getSAML2Object() { return (SAML2Object) this.documentHolder.getSamlObject(); }
public Document getRequestDocument() { return this.documentHolder.getSamlDocument(); }
/** * @see org.picketlink.identity.federation.core.interfaces.ProtocolContext#getQName() */ public QName getQName() { String localPart = JBossSAMLConstants.ASSERTION.get(); String ns = tokenType(); return new QName(ns, localPart); }