Package org.jgrapes.webconlet.oidclogin
Class OidcProviderData
java.lang.Object
org.jgrapes.webconlet.oidclogin.OidcProviderData
The Class OidcProviderData.
-
Constructor Summary
ConstructorDescriptionOidcProviderData
(String name, String displayName) Instantiates a new oidc provider data. -
Method Summary
Modifier and TypeMethodDescriptionGets the authorization endpoint.Gets the authorized roles.clientId()
Gets the client id.Gets the configuration endpoint.Gets the display name.issuer()
Gets the issuer.name()
Gets the name.Gets the pattern cache.popup()
Gets the popup options.Gets the role mappings.secret()
Gets the secret.void
setAuthorizationEndpoint
(URL authorizationEp) Sets the authorization endpoint.void
setAuthorizedRoles
(List<String> authorizedRoles) Sets the authorized roles.void
setClientId
(String clientId) Sets the client id.void
setConfigurationEndpoint
(URL configurationEndpoint) Sets the configuration endpoint.void
Sets the issuer.void
Sets the popup option.void
setRoleMappings
(List<Map<String, String>> roleMappings) Sets the role mappings.void
Sets the secret.void
setTokenEndpoint
(URL tokenEndpoint) Sets the token endpoint.void
setUserinfoEndpoint
(URL userinfoEndpoint) Sets the userinfo endpoint.void
setUserMappings
(List<Map<String, String>> userMappings) Sets the user mappings.Gets the token endpoint.toString()
Gets the userinfo endpoint.Gets the user mappings.
-
Constructor Details
-
OidcProviderData
Instantiates a new oidc provider data.- Parameters:
name
- the namedisplayName
- the display name
-
-
Method Details
-
name
Gets the name.- Returns:
- the name
-
displayName
Gets the display name.- Returns:
- the display name
-
clientId
Gets the client id.- Returns:
- the client id
-
setClientId
Sets the client id.- Parameters:
clientId
- the new client id
-
secret
Gets the secret.- Returns:
- the secret
-
setSecret
Sets the secret.- Parameters:
secret
- the new secret
-
issuer
Gets the issuer.- Returns:
- the issuer
-
setIssuer
Sets the issuer.- Parameters:
issuer
- the new issuer
-
configurationEndpoint
Gets the configuration endpoint.- Returns:
- the configuration endpoint
-
setConfigurationEndpoint
Sets the configuration endpoint.- Parameters:
configurationEndpoint
- the new configuration endpoint
-
authorizationEndpoint
Gets the authorization endpoint.- Returns:
- the authorization endpoint
-
setAuthorizationEndpoint
Sets the authorization endpoint.- Parameters:
authorizationEp
- the new authorization endpoint
-
tokenEndpoint
Gets the token endpoint.- Returns:
- the token endpoint
-
setTokenEndpoint
Sets the token endpoint.- Parameters:
tokenEndpoint
- the new token endpoint
-
userinfoEndpoint
Gets the userinfo endpoint.- Returns:
- the userinfo endpoint
-
setUserinfoEndpoint
Sets the userinfo endpoint.- Parameters:
userinfoEndpoint
- the new userinfo endpoint
-
toString
-
popup
Gets the popup options.- Returns:
- the popup
-
setPopup
Sets the popup option.- Parameters:
popup
- the popup
-
authorizedRoles
Gets the authorized roles.- Returns:
- the authorized roles
-
setAuthorizedRoles
Sets the authorized roles.- Parameters:
authorizedRoles
- the authorized roles
-
userMappings
Gets the user mappings.- Returns:
- the user mappings
-
setUserMappings
Sets the user mappings.- Parameters:
userMappings
- the user mappings
-
roleMappings
Gets the role mappings.- Returns:
- the role mappings
-
setRoleMappings
Sets the role mappings.- Parameters:
roleMappings
- the role mappings
-
patternCache
Gets the pattern cache.- Returns:
- the pattern cache
-