Class SamlpRequestComponentBuilder


  • public final class SamlpRequestComponentBuilder
    extends Object
    A set of utility methods to construct SAMLP Request statements
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.opensaml.saml.saml2.core.AuthnContextClassRef createAuthnCtxClassRef​(String authnCtxClassRefValue)  
      static org.opensaml.saml.saml2.core.AuthnRequest createAuthnRequest​(String serviceURL, boolean forceAuthn, boolean isPassive, String protocolBinding, org.opensaml.saml.common.SAMLVersion version, org.opensaml.saml.saml2.core.Issuer issuer, org.opensaml.saml.saml2.core.NameIDPolicy nameIDPolicy, org.opensaml.saml.saml2.core.RequestedAuthnContext requestedAuthnCtx)  
      static org.opensaml.saml.saml2.core.Issuer createIssuer​(String issuerValue)  
      static org.opensaml.saml.saml2.core.LogoutRequest createLogoutRequest​(org.opensaml.saml.common.SAMLVersion version, org.opensaml.saml.saml2.core.Issuer issuer, String destination, String consent, Date notOnOrAfter, String reason, org.opensaml.saml.saml2.core.NameID nameID)  
      static org.opensaml.saml.saml2.core.NameIDPolicy createNameIDPolicy​(boolean allowCreate, String format, String spNameQualifier)  
      static org.opensaml.saml.saml2.core.RequestedAuthnContext createRequestedAuthnCtxPolicy​(org.opensaml.saml.saml2.core.AuthnContextComparisonTypeEnumeration comparison, List<org.opensaml.saml.saml2.core.AuthnContextClassRef> authnCtxClassRefList, List<org.opensaml.saml.saml2.core.AuthnContextDeclRef> authnCtxDeclRefList)  
    • Method Detail

      • createAuthnRequest

        public static org.opensaml.saml.saml2.core.AuthnRequest createAuthnRequest​(String serviceURL,
                                                                                   boolean forceAuthn,
                                                                                   boolean isPassive,
                                                                                   String protocolBinding,
                                                                                   org.opensaml.saml.common.SAMLVersion version,
                                                                                   org.opensaml.saml.saml2.core.Issuer issuer,
                                                                                   org.opensaml.saml.saml2.core.NameIDPolicy nameIDPolicy,
                                                                                   org.opensaml.saml.saml2.core.RequestedAuthnContext requestedAuthnCtx)
      • createLogoutRequest

        public static org.opensaml.saml.saml2.core.LogoutRequest createLogoutRequest​(org.opensaml.saml.common.SAMLVersion version,
                                                                                     org.opensaml.saml.saml2.core.Issuer issuer,
                                                                                     String destination,
                                                                                     String consent,
                                                                                     Date notOnOrAfter,
                                                                                     String reason,
                                                                                     org.opensaml.saml.saml2.core.NameID nameID)
      • createIssuer

        public static org.opensaml.saml.saml2.core.Issuer createIssuer​(String issuerValue)
      • createNameIDPolicy

        public static org.opensaml.saml.saml2.core.NameIDPolicy createNameIDPolicy​(boolean allowCreate,
                                                                                   String format,
                                                                                   String spNameQualifier)
      • createRequestedAuthnCtxPolicy

        public static org.opensaml.saml.saml2.core.RequestedAuthnContext createRequestedAuthnCtxPolicy​(org.opensaml.saml.saml2.core.AuthnContextComparisonTypeEnumeration comparison,
                                                                                                       List<org.opensaml.saml.saml2.core.AuthnContextClassRef> authnCtxClassRefList,
                                                                                                       List<org.opensaml.saml.saml2.core.AuthnContextDeclRef> authnCtxDeclRefList)
      • createAuthnCtxClassRef

        public static org.opensaml.saml.saml2.core.AuthnContextClassRef createAuthnCtxClassRef​(String authnCtxClassRefValue)