Class AuthServerConf
java.lang.Object
fr.paris.lutece.plugins.oauth2.business.AuthServerConf
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OIDCAuthServerConf
ServerConfiguration
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the AuthorizationEndpointUriThe signature algorithm code for ID Token.Returns the IssuerGets the JWKS endpoint URI.Returns the LogoutEndpointUrigetName()Returns the TokenEndpointUribooleanvoidsetAuthorizationEndpointUri(String strAuthorizationEndpointUri) Sets the AuthorizationEndpointUrivoidsetEnableJwtParser(boolean _bEnableJwtParser) voidsetIDTokenSignatureAlgorithmNames(Set<String> signatureAlgorithmNames) Sets the signature algorithm code set for ID Token.voidSets the IssuervoidsetJwksEndpointUri(String strJwksEndpointUri) Sets the JWKS endpoint URI.voidsetLogoutEndpointUri(String strLogoutEndpointUri) Sets the LogoutEndpointUrivoidvoidsetTokenEndpointUri(String strTokenEndpointUri) Sets the TokenEndpointUri
-
Constructor Details
-
AuthServerConf
public AuthServerConf() -
AuthServerConf
-
-
Method Details
-
getName
- Returns:
- the servername
-
setName
- Parameters:
_strName- the servername
-
getIssuer
Returns the Issuer- Returns:
- The Issuer
-
setIssuer
Sets the Issuer- Parameters:
strIssuer- The Issuer
-
getAuthorizationEndpointUri
Returns the AuthorizationEndpointUri- Returns:
- The AuthorizationEndpointUri
-
setAuthorizationEndpointUri
Sets the AuthorizationEndpointUri- Parameters:
strAuthorizationEndpointUri- The AuthorizationEndpointUri
-
getTokenEndpointUri
Returns the TokenEndpointUri- Returns:
- The TokenEndpointUri
-
setTokenEndpointUri
Sets the TokenEndpointUri- Parameters:
strTokenEndpointUri- The TokenEndpointUri
-
getLogoutEndpointUri
Returns the LogoutEndpointUri- Returns:
- The LogoutEndpointUri
-
setLogoutEndpointUri
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
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. Ifnull, the token must not have been signed.- Returns:
- the signature algorithm code
- Since:
- 2.0.0
-
setIDTokenSignatureAlgorithmNames
Sets the signature algorithm code set for ID Token. If notnulland if the jwt parser is enabled, the token will be required to have been signed using one of these algorithms. Ifnull, the token must not have been signed.- Parameters:
signatureAlgorithm- the signature algorithm code- Since:
- 2.0.0
-
getJwksEndpointUri
Gets the JWKS endpoint URI. If notnulland 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
Sets the JWKS endpoint URI. If notnulland 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
-