Class OidcProviderData

java.lang.Object
org.jgrapes.webconlet.oidclogin.OidcProviderData

public class OidcProviderData extends Object
The Class OidcProviderData.
  • Constructor Details

    • OidcProviderData

      public OidcProviderData(String name, String displayName)
      Instantiates a new oidc provider data.
      Parameters:
      name - the name
      displayName - the display name
  • Method Details

    • name

      public String name()
      Gets the name.
      Returns:
      the name
    • displayName

      public String displayName()
      Gets the display name.
      Returns:
      the display name
    • clientId

      public String clientId()
      Gets the client id.
      Returns:
      the client id
    • setClientId

      public void setClientId(String clientId)
      Sets the client id.
      Parameters:
      clientId - the new client id
    • secret

      public String secret()
      Gets the secret.
      Returns:
      the secret
    • setSecret

      public void setSecret(String secret)
      Sets the secret.
      Parameters:
      secret - the new secret
    • issuer

      public URL issuer()
      Gets the issuer.
      Returns:
      the issuer
    • setIssuer

      public void setIssuer(URL issuer)
      Sets the issuer.
      Parameters:
      issuer - the new issuer
    • configurationEndpoint

      Gets the configuration endpoint.
      Returns:
      the configuration endpoint
    • setConfigurationEndpoint

      public void setConfigurationEndpoint(URL configurationEndpoint)
      Sets the configuration endpoint.
      Parameters:
      configurationEndpoint - the new configuration endpoint
    • authorizationEndpoint

      Gets the authorization endpoint.
      Returns:
      the authorization endpoint
    • setAuthorizationEndpoint

      public void setAuthorizationEndpoint(URL authorizationEp)
      Sets the authorization endpoint.
      Parameters:
      authorizationEp - the new authorization endpoint
    • tokenEndpoint

      public URL tokenEndpoint()
      Gets the token endpoint.
      Returns:
      the token endpoint
    • setTokenEndpoint

      public void setTokenEndpoint(URL tokenEndpoint)
      Sets the token endpoint.
      Parameters:
      tokenEndpoint - the new token endpoint
    • userinfoEndpoint

      Gets the userinfo endpoint.
      Returns:
      the userinfo endpoint
    • setUserinfoEndpoint

      public void setUserinfoEndpoint(URL userinfoEndpoint)
      Sets the userinfo endpoint.
      Parameters:
      userinfoEndpoint - the new userinfo endpoint
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • popup

      public Map<String,String> popup()
      Gets the popup options.
      Returns:
      the popup
    • setPopup

      public void setPopup(Map<String,String> popup)
      Sets the popup option.
      Parameters:
      popup - the popup
    • authorizedRoles

      Gets the authorized roles.
      Returns:
      the authorized roles
    • setAuthorizedRoles

      public void setAuthorizedRoles(List<String> authorizedRoles)
      Sets the authorized roles.
      Parameters:
      authorizedRoles - the authorized roles
    • userMappings

      Gets the user mappings.
      Returns:
      the user mappings
    • setUserMappings

      public void setUserMappings(List<Map<String,String>> userMappings)
      Sets the user mappings.
      Parameters:
      userMappings - the user mappings
    • roleMappings

      Gets the role mappings.
      Returns:
      the role mappings
    • setRoleMappings

      public void setRoleMappings(List<Map<String,String>> roleMappings)
      Sets the role mappings.
      Parameters:
      roleMappings - the role mappings
    • patternCache

      Gets the pattern cache.
      Returns:
      the pattern cache