Class AuthServerConf
- java.lang.Object
-
- fr.paris.lutece.plugins.oauth2.business.AuthServerConf
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
OIDCAuthServerConf
public class AuthServerConf extends java.lang.Object implements java.io.SerializableServerConfiguration- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthServerConf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAuthorizationEndpointUri()Returns the AuthorizationEndpointUrijava.util.Set<java.lang.String>getIDTokenSignatureAlgorithmNames()The signature algorithm code for ID Token.java.lang.StringgetIssuer()Returns the Issuerjava.lang.StringgetJwksEndpointUri()Gets the JWKS endpoint URI.java.lang.StringgetLogoutEndpointUri()Returns the LogoutEndpointUrijava.lang.StringgetName()java.lang.StringgetTokenEndpointUri()Returns the TokenEndpointUribooleanisEnableJwtParser()voidsetAuthorizationEndpointUri(java.lang.String strAuthorizationEndpointUri)Sets the AuthorizationEndpointUrivoidsetEnableJwtParser(boolean _bEnableJwtParser)voidsetIDTokenSignatureAlgorithmNames(java.util.Set<java.lang.String> signatureAlgorithmNames)Sets the signature algorithm code set for ID Token.voidsetIssuer(java.lang.String strIssuer)Sets the IssuervoidsetJwksEndpointUri(java.lang.String strJwksEndpointUri)Sets the JWKS endpoint URI.voidsetLogoutEndpointUri(java.lang.String strLogoutEndpointUri)Sets the LogoutEndpointUrivoidsetName(java.lang.String strName)voidsetTokenEndpointUri(java.lang.String strTokenEndpointUri)Sets the TokenEndpointUri
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Returns:
- the servername
-
setName
public void setName(java.lang.String strName)
- Parameters:
_strName- the servername
-
getIssuer
public java.lang.String getIssuer()
Returns the Issuer- Returns:
- The Issuer
-
setIssuer
public void setIssuer(java.lang.String strIssuer)
Sets the Issuer- Parameters:
strIssuer- The Issuer
-
getAuthorizationEndpointUri
public java.lang.String getAuthorizationEndpointUri()
Returns the AuthorizationEndpointUri- Returns:
- The AuthorizationEndpointUri
-
setAuthorizationEndpointUri
public void setAuthorizationEndpointUri(java.lang.String strAuthorizationEndpointUri)
Sets the AuthorizationEndpointUri- Parameters:
strAuthorizationEndpointUri- The AuthorizationEndpointUri
-
getTokenEndpointUri
public java.lang.String getTokenEndpointUri()
Returns the TokenEndpointUri- Returns:
- The TokenEndpointUri
-
setTokenEndpointUri
public void setTokenEndpointUri(java.lang.String strTokenEndpointUri)
Sets the TokenEndpointUri- Parameters:
strTokenEndpointUri- The TokenEndpointUri
-
getLogoutEndpointUri
public java.lang.String getLogoutEndpointUri()
Returns the LogoutEndpointUri- Returns:
- The LogoutEndpointUri
-
setLogoutEndpointUri
public void setLogoutEndpointUri(java.lang.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 java.util.Set<java.lang.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. Ifnull, the token must not have been signed.- Returns:
- the signature algorithm code
- Since:
- 2.0.0
-
setIDTokenSignatureAlgorithmNames
public void setIDTokenSignatureAlgorithmNames(java.util.Set<java.lang.String> signatureAlgorithmNames)
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
public java.lang.String 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
public void setJwksEndpointUri(java.lang.String strJwksEndpointUri)
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
-
-