Class OIDCSupport

java.lang.Object
net.shibboleth.sp.oidc.profile.OIDCSupport

public final class OIDCSupport extends Object
Support class for OIDC related implementations.
  • Constructor Details

    • OIDCSupport

      private OIDCSupport()
      Private constructor.
  • Method Details

    • generateRandom

      @Nonnull public static String generateRandom(@Nonnull Integer length)
      Generates a secure random identifier, encoded in Hex..
      Parameters:
      length - the length of the parameter.
      Returns:
      the randomly generated Hex value.
    • getState

      @Nullable public static String getState(@Nonnull org.opensaml.messaging.context.MessageContext messageContext)
      Extracts the state parameter value from an AuthenticationResponse.
      Parameters:
      messageContext - the message context.
      Returns:
      the state parameter value or null.