Class AuthServerConf

java.lang.Object
fr.paris.lutece.plugins.oauth2.business.AuthServerConf
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
OIDCAuthServerConf

public class AuthServerConf extends Object implements Serializable
ServerConfiguration
See Also:
  • Constructor Details

    • AuthServerConf

      public AuthServerConf()
    • AuthServerConf

      public AuthServerConf(String strName, String strIssuer, String strAuthorizationEndpointUri, String strTokenEndpointUri, String strLogoutEndpointUri, boolean bEnableJwtParser, Set<String> idTokenSignatureAlgorithmNames, String strJwksEndpointUri)
  • Method Details

    • getName

      public String getName()
      Returns:
      the servername
    • setName

      public void setName(String strName)
      Parameters:
      _strName - the servername
    • getIssuer

      public String getIssuer()
      Returns the Issuer
      Returns:
      The Issuer
    • setIssuer

      public void setIssuer(String strIssuer)
      Sets the Issuer
      Parameters:
      strIssuer - The Issuer
    • getAuthorizationEndpointUri

      public String getAuthorizationEndpointUri()
      Returns the AuthorizationEndpointUri
      Returns:
      The AuthorizationEndpointUri
    • setAuthorizationEndpointUri

      public void setAuthorizationEndpointUri(String strAuthorizationEndpointUri)
      Sets the AuthorizationEndpointUri
      Parameters:
      strAuthorizationEndpointUri - The AuthorizationEndpointUri
    • getTokenEndpointUri

      public String getTokenEndpointUri()
      Returns the TokenEndpointUri
      Returns:
      The TokenEndpointUri
    • setTokenEndpointUri

      public void setTokenEndpointUri(String strTokenEndpointUri)
      Sets the TokenEndpointUri
      Parameters:
      strTokenEndpointUri - The TokenEndpointUri
    • getLogoutEndpointUri

      public String getLogoutEndpointUri()
      Returns the LogoutEndpointUri
      Returns:
      The LogoutEndpointUri
    • setLogoutEndpointUri

      public void setLogoutEndpointUri(String strLogoutEndpointUri)
      Sets the LogoutEndpointUri
      Parameters:
      strLogoutEndpointUri - The LogoutEndpointUri
    • isEnableJwtParser

      public boolean isEnableJwtParser()
      Returns:
      enable jwt parser
    • setEnableJwtParser

      public void setEnableJwtParser(boolean _bEnableJwtParser)
      Parameters:
      _bEnableJwtParser - enable jwt parser
    • getIDTokenSignatureAlgorithmNames

      public Set<String> getIDTokenSignatureAlgorithmNames()
      The signature algorithm code for ID Token. If present and if the jwt parser is enabled, the token will be required to have been signed using this algorithm. If null, the token must not have been signed.
      Returns:
      the signature algorithm code
      Since:
      2.0.0
    • setIDTokenSignatureAlgorithmNames

      public void setIDTokenSignatureAlgorithmNames(Set<String> signatureAlgorithmNames)
      Sets the signature algorithm code set for ID Token. If not null and if the jwt parser is enabled, the token will be required to have been signed using one of these algorithms. If null, the token must not have been signed.
      Parameters:
      signatureAlgorithm - the signature algorithm code
      Since:
      2.0.0
    • getJwksEndpointUri

      public String getJwksEndpointUri()
      Gets the JWKS endpoint URI. If not null and if the jwt parser is enabled, the signature keys will be fetched from this URL
      Returns:
      the JWKS endpoint URI
      Since:
      2.0.0
    • setJwksEndpointUri

      public void setJwksEndpointUri(String strJwksEndpointUri)
      Sets the JWKS endpoint URI. If not null and if the jwt parser is enabled, the signature keys will be fetched from this URL
      Parameters:
      strJwksEndpointUri - the JWKS endpoint URI
      Since:
      2.0.0