Class Saml2Metadata

java.lang.Object
com.codename1.backend.security.saml2.Saml2Metadata

public final class Saml2Metadata extends Object
This server's SAML metadata, for the identity provider's administrator to load: who it is, where responses go, the key its requests are signed with, the keys assertions may be encrypted to, and where logout messages go.
  • Method Details

    • forServiceProvider

      public static String forServiceProvider(RelyingPartyRegistration registration, String entityId, String acsLocation)
      The EntityDescriptor of this server as registration's service provider.
    • forServiceProvider

      public static String forServiceProvider(RelyingPartyRegistration registration, String entityId, String acsLocation, String sloLocation)
      The EntityDescriptor, with a SingleLogoutService at sloLocation for both bindings when it is not null.