Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
$
- $2A - Enum constant in enum class one.jpro.platform.auth.core.crypto.bcrypt.BCrypt.Version
- $2B - Enum constant in enum class one.jpro.platform.auth.core.crypto.bcrypt.BCrypt.Version
- $2Y - Enum constant in enum class one.jpro.platform.auth.core.crypto.bcrypt.BCrypt.Version
A
- ACCEPTED - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- addPubSecKeys(PubSecKeyOptions) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Adds a public and secret key option to the existing list for OAuth2 authentication.
- addScopes(String...) - Method in class one.jpro.platform.auth.core.jwt.TokenCredentials
- addSupportedClaim(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Adds a supported claim to the existing list.
- addSupportedCodeChallengeMethod(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Adds a supported code challenge method to the existing list.
- addSupportedGrantType(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Adds a supported grant type to the existing list.
- addSupportedIdTokenSigningAlgValue(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Adds a supported ID token signing algorithm value to the existing list.
- addSupportedIntrospectionEndpointAuthMethod(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Adds a supported introspection endpoint authentication method to the existing list.
- addSupportedRequestObjectSigningAlgValue(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Adds a supported request object signing algorithm value to the existing list.
- addSupportedResponseMode(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Adds a supported response mode to the existing list.
- addSupportedResponseType(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Adds a supported response type to the existing list.
- addSupportedRevocationEndpointAuthMethod(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Adds a supported revocation endpoint authentication method to the existing list.
- addSupportedScope(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Adds a supported scope to the existing list.
- addSupportedSubjectType(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Adds a supported subject type to the existing list.
- addSupportedTokenEndpointAuthMethod(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Adds a supported token endpoint authentication method to the existing list.
- ALREADY_REPORTED - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- attributes(Map<String, Object>) - Method in interface one.jpro.platform.auth.core.api.FluentBasicAuth
-
Set the attributes.
- attributes(Map<String, Object>) - Method in class one.jpro.platform.auth.core.api.FluentBasicAuthAPI
- AUTH_CODE - Enum constant in enum class one.jpro.platform.auth.core.oauth2.OAuth2Flow
- AUTH_JWT - Enum constant in enum class one.jpro.platform.auth.core.oauth2.OAuth2Flow
- AuthAPI - Interface in one.jpro.platform.auth.core
-
Access and configure supported authentication providers via simplified and fluent style API.
- authenticate() - Method in class one.jpro.platform.auth.core.oauth2.provider.OpenIDAuthenticationProvider
-
Authenticate a user with the given credentials.
- authenticate(Credentials) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2AuthenticationProvider
-
Authenticate a user with the given credentials.
- authenticate(UsernamePasswordCredentials) - Method in class one.jpro.platform.auth.core.basic.provider.BasicAuthenticationProvider
-
Authenticates the user based on the provided
UsernamePasswordCredentials. - authenticate(TokenCredentials) - Method in class one.jpro.platform.auth.core.jwt.JWTAuthenticationProvider
-
Authenticates the given
TokenCredentialsand returns a user. - authenticate(T) - Method in interface one.jpro.platform.auth.core.authentication.AuthenticationProvider
-
Authenticate a user with the given credentials.
- Authentication - Interface in one.jpro.platform.auth.core.authentication
-
Represents the state of an authentication.
- AuthenticationException - Exception Class in one.jpro.platform.auth.core.authentication
-
A runtime exception thrown when authentication fails.
- AuthenticationException() - Constructor for exception class one.jpro.platform.auth.core.authentication.AuthenticationException
-
Constructs a new authentication exception with
nullas its detail message. - AuthenticationException(String) - Constructor for exception class one.jpro.platform.auth.core.authentication.AuthenticationException
-
Constructs a new authentication exception with the specified detail message.
- AuthenticationException(String, Throwable) - Constructor for exception class one.jpro.platform.auth.core.authentication.AuthenticationException
-
Constructs a new authentication exception with the specified detail message and cause.
- AuthenticationProvider<T> - Interface in one.jpro.platform.auth.core.authentication
-
Defines an authentication provider.
- authorizationPath(String) - Method in interface one.jpro.platform.auth.core.api.FluentBasicAuth
-
Set the authorization path.
- authorizationPath(String) - Method in class one.jpro.platform.auth.core.api.FluentBasicAuthAPI
- authorizeUrl() - Method in class one.jpro.platform.auth.core.oauth2.provider.OpenIDAuthenticationProvider
-
The client sends the end-user's browser to the authorization endpoint.
- authorizeUrl(OAuth2Credentials) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2AuthenticationProvider
-
The client sends the end-user's browser to the authorization endpoint.
- authorizeURL(OAuth2Credentials) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2API
-
The client sends the end-user's browser to this endpoint to request their authentication and consent.
- AuthUtils - Interface in one.jpro.platform.auth.core.utils
-
Utility methods.
B
- BAD_GATEWAY - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- BAD_REQUEST - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- BASE64_DECODER - Static variable in interface one.jpro.platform.auth.core.utils.AuthUtils
- BASE64_ENCODER - Static variable in interface one.jpro.platform.auth.core.utils.AuthUtils
- basicAuth() - Static method in interface one.jpro.platform.auth.core.AuthAPI
-
Configure and create a basic (username and password) authentication provider.
- BasicAuthenticationProvider - Class in one.jpro.platform.auth.core.basic.provider
-
The
BasicAuthenticationProviderclass implements theAuthenticationProviderinterface to provide basic authentication using username and password credentials. - BasicAuthenticationProvider(UserManager, Set<String>, Map<String, Object>) - Constructor for class one.jpro.platform.auth.core.basic.provider.BasicAuthenticationProvider
-
Constructs a new
BasicAuthenticationProviderwith specified roles and attributes. - BCrypt - Class in one.jpro.platform.auth.core.crypto.bcrypt
-
BCrypt implements OpenBSD-style Blowfish password hashing using the scheme described in "A Future-Adaptable Password Scheme" by Niels Provos and David Mazieres.
- BCrypt() - Constructor for class one.jpro.platform.auth.core.crypto.bcrypt.BCrypt
- BCRYPT_PASSWORD_ENCODER - Static variable in interface one.jpro.platform.auth.core.utils.AuthUtils
- BCrypt.Version - Enum Class in one.jpro.platform.auth.core.crypto.bcrypt
-
Stores the bcrypt version for use in configuration.
- BCryptPasswordEncoder - Class in one.jpro.platform.auth.core.crypto.bcrypt
-
Implementation of PasswordEncoder that uses the BCrypt strong hashing function.
- BCryptPasswordEncoder() - Constructor for class one.jpro.platform.auth.core.crypto.bcrypt.BCryptPasswordEncoder
-
Default constructor which uses a default strength.
- BCryptPasswordEncoder(int) - Constructor for class one.jpro.platform.auth.core.crypto.bcrypt.BCryptPasswordEncoder
-
Constructor with strength.
- BCryptPasswordEncoder(int, SecureRandom) - Constructor for class one.jpro.platform.auth.core.crypto.bcrypt.BCryptPasswordEncoder
-
Constructor with strength and a SecureRandom instance.
- BCryptPasswordEncoder(BCrypt.Version) - Constructor for class one.jpro.platform.auth.core.crypto.bcrypt.BCryptPasswordEncoder
-
Constructor with a specific version of BCrypt.
- BCryptPasswordEncoder(BCrypt.Version, int) - Constructor for class one.jpro.platform.auth.core.crypto.bcrypt.BCryptPasswordEncoder
-
Constructor with a specific version of BCrypt and strength.
- BCryptPasswordEncoder(BCrypt.Version, int, SecureRandom) - Constructor for class one.jpro.platform.auth.core.crypto.bcrypt.BCryptPasswordEncoder
-
Constructor with a specific version of BCrypt, strength, and a SecureRandom instance.
- BCryptPasswordEncoder(BCrypt.Version, SecureRandom) - Constructor for class one.jpro.platform.auth.core.crypto.bcrypt.BCryptPasswordEncoder
-
Constructor with a specific version of BCrypt and a SecureRandom instance.
- body() - Method in record class one.jpro.platform.auth.core.http.impl.Request
-
Returns the value of the
bodyrecord component.
C
- changePassword(String, String) - Method in class one.jpro.platform.auth.core.basic.InMemoryUserManager
- changePassword(String, String) - Method in interface one.jpro.platform.auth.core.basic.UserManager
-
Changes the password of an existing user.
- checkpw(byte[], String) - Static method in class one.jpro.platform.auth.core.crypto.bcrypt.BCrypt
-
Check that a password (as a byte array) matches a previously hashed one
- checkpw(String, String) - Static method in class one.jpro.platform.auth.core.crypto.bcrypt.BCrypt
-
Check that a plaintext password matches a previously hashed one
- CLIENT - Enum constant in enum class one.jpro.platform.auth.core.oauth2.OAuth2Flow
- clientId(String) - Method in interface one.jpro.platform.auth.core.api.FluentGoogleAuth
-
Set the client id.
- clientId(String) - Method in class one.jpro.platform.auth.core.api.FluentGoogleAuthAPI
- clientId(String) - Method in interface one.jpro.platform.auth.core.api.FluentKeycloakAuth
-
Set the client id.
- clientId(String) - Method in class one.jpro.platform.auth.core.api.FluentKeycloakAuthAPI
- clientId(String) - Method in interface one.jpro.platform.auth.core.api.FluentMicrosoftAuth
-
Set the client id.
- clientId(String) - Method in class one.jpro.platform.auth.core.api.FluentMicrosoftAuthAPI
- clientSecret(String) - Method in interface one.jpro.platform.auth.core.api.FluentGoogleAuth
-
Set the client secret.
- clientSecret(String) - Method in class one.jpro.platform.auth.core.api.FluentGoogleAuthAPI
- clientSecret(String) - Method in interface one.jpro.platform.auth.core.api.FluentKeycloakAuth
-
Set the client secret.
- clientSecret(String) - Method in class one.jpro.platform.auth.core.api.FluentKeycloakAuthAPI
- clientSecret(String) - Method in interface one.jpro.platform.auth.core.api.FluentMicrosoftAuth
-
Set the client secret.
- clientSecret(String) - Method in class one.jpro.platform.auth.core.api.FluentMicrosoftAuthAPI
- close() - Method in interface one.jpro.platform.auth.core.http.HttpServer
- COMMON_TENANT - Static variable in class one.jpro.platform.auth.core.oauth2.provider.MicrosoftAuthenticationProvider
-
The common tenant identifier for Microsoft OAuth2.
- CONFLICT - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- CONSUMERS_TENANT - Static variable in class one.jpro.platform.auth.core.oauth2.provider.MicrosoftAuthenticationProvider
-
The consumers tenant identifier for Microsoft OAuth2.
- containsValue(HttpHeaders, String) - Static method in interface one.jpro.platform.auth.core.utils.AuthUtils
-
Checks if the specified headers contain the specified value.
- CONTENT_TOO_LARGE - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- CONTINUE - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- create() - Method in interface one.jpro.platform.auth.core.api.FluentBasicAuth
-
Create a simple authentication provider.
- create() - Method in class one.jpro.platform.auth.core.api.FluentBasicAuthAPI
- create(String) - Static method in interface one.jpro.platform.auth.core.authentication.Authentication
-
Build an
Authenticationinstance for the user. - create(String, Map<String, Object>) - Static method in interface one.jpro.platform.auth.core.authentication.Authentication
-
Build an
Authenticationinstance for the user. - create(String, Set<String>) - Static method in interface one.jpro.platform.auth.core.authentication.Authentication
-
Build an
Authenticationinstance for the user. - create(String, Set<String>, Map<String, Object>) - Static method in interface one.jpro.platform.auth.core.authentication.Authentication
-
Builds an
Authenticationinstance for the user. - create(Stage) - Static method in interface one.jpro.platform.auth.core.http.HttpServer
-
Creates a http server.
- create(Stage) - Method in interface one.jpro.platform.auth.core.api.FluentGoogleAuth
-
Create a Google authentication provider.
- create(Stage) - Method in class one.jpro.platform.auth.core.api.FluentGoogleAuthAPI
- create(Stage) - Method in interface one.jpro.platform.auth.core.api.FluentKeycloakAuth
-
Create a Keycloak authentication provider.
- create(Stage) - Method in class one.jpro.platform.auth.core.api.FluentKeycloakAuthAPI
- create(Stage) - Method in interface one.jpro.platform.auth.core.api.FluentMicrosoftAuth
-
Create a Microsoft authentication provider.
- create(Stage) - Method in class one.jpro.platform.auth.core.api.FluentMicrosoftAuthAPI
- create(JSONObject) - Static method in interface one.jpro.platform.auth.core.authentication.Authentication
-
Builds an
Authenticationinstance for the user from aJSONObject. - CREATED - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- createUser(UsernamePasswordCredentials, Set<String>, Map<String, Object>) - Method in class one.jpro.platform.auth.core.basic.InMemoryUserManager
- createUser(UsernamePasswordCredentials, Set<String>, Map<String, Object>) - Method in interface one.jpro.platform.auth.core.basic.UserManager
-
Creates a new user with the specified credentials.
- Credentials - Interface in one.jpro.platform.auth.core.authentication
-
Abstract representation of a Credentials object.
- CredentialValidationException - Exception Class in one.jpro.platform.auth.core.authentication
-
Represents an exception that is thrown when
Credentialsvalidation fails. - CredentialValidationException(String) - Constructor for exception class one.jpro.platform.auth.core.authentication.CredentialValidationException
-
Constructs a new CredentialValidationException with the specified detail message.
- CredentialValidationException(String, Throwable) - Constructor for exception class one.jpro.platform.auth.core.authentication.CredentialValidationException
-
Constructs a new CredentialValidationException with the specified detail message and cause.
D
- decodeParams(String) - Method in interface one.jpro.platform.auth.core.http.HttpServer
-
Decodes parameters in percent-encoded URI-format and adds them to given Map.
- decodePercent(String) - Static method in interface one.jpro.platform.auth.core.utils.AuthUtils
-
Decode percent encoded
Stringvalues. - DEFAULT_ACCEPT_LENGTH - Static variable in class one.jpro.platform.auth.core.http.HttpOptions
- DEFAULT_AUTHORIZATION_PATH - Static variable in class one.jpro.platform.auth.core.basic.provider.BasicAuthenticationProvider
- DEFAULT_CONCURRENCY - Static variable in class one.jpro.platform.auth.core.http.HttpOptions
- DEFAULT_HOST - Static variable in class one.jpro.platform.auth.core.http.HttpOptions
- DEFAULT_MAX_REQUEST_SIZE - Static variable in class one.jpro.platform.auth.core.http.HttpOptions
- DEFAULT_PORT - Static variable in class one.jpro.platform.auth.core.http.HttpOptions
- DEFAULT_READ_BUFFER_SIZE - Static variable in class one.jpro.platform.auth.core.http.HttpOptions
- DEFAULT_REQUEST_TIMEOUT - Static variable in class one.jpro.platform.auth.core.http.HttpOptions
- DEFAULT_RESOLUTION - Static variable in class one.jpro.platform.auth.core.http.HttpOptions
- DEFAULT_REUSE_ADDR - Static variable in class one.jpro.platform.auth.core.http.HttpOptions
- DEFAULT_REUSE_PORT - Static variable in class one.jpro.platform.auth.core.http.HttpOptions
- DEFAULT_SCOPES - Static variable in class one.jpro.platform.auth.core.oauth2.provider.GoogleAuthenticationProvider
- DEFAULT_SCOPES - Static variable in class one.jpro.platform.auth.core.oauth2.provider.MicrosoftAuthenticationProvider
- DELETE - Enum constant in enum class one.jpro.platform.auth.core.http.HttpMethod
-
The HTTP method
DELETE. - deleteUser(String) - Method in class one.jpro.platform.auth.core.basic.InMemoryUserManager
- deleteUser(String) - Method in interface one.jpro.platform.auth.core.basic.UserManager
-
Deletes a user with the specified username.
- discover() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2AuthenticationProvider
-
Creates a OAuth2 authentication provider for OpenID Connect Discovery.
- discover(Stage, OAuth2Options) - Static method in class one.jpro.platform.auth.core.oauth2.provider.GoogleAuthenticationProvider
-
Create an
OAuth2AuthenticationProviderfor OpenID Connect Discovery. - discover(Stage, OAuth2Options) - Static method in class one.jpro.platform.auth.core.oauth2.provider.KeycloakAuthenticationProvider
-
Create an
OAuth2AuthenticationProviderfor OpenID Connect Discovery. - discover(Stage, OAuth2Options) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2API
-
The discovery will use the given site in the configuration options and attempt to load the well-known descriptor.
- discover(Stage, OAuth2Options) - Static method in class one.jpro.platform.auth.core.oauth2.provider.MicrosoftAuthenticationProvider
-
Create an
OAuth2AuthenticationProviderfor OpenID Connect Discovery.
E
- EARLY_HINTS - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- encode(CharSequence) - Method in class one.jpro.platform.auth.core.crypto.bcrypt.BCryptPasswordEncoder
- encode(CharSequence) - Method in interface one.jpro.platform.auth.core.crypto.PasswordEncoder
-
Encode the raw password.
- ENHANCE_YOUR_CALM - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- equals(Object) - Method in class one.jpro.platform.auth.core.basic.UsernamePasswordCredentials
- equals(Object) - Method in record class one.jpro.platform.auth.core.http.impl.Header
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class one.jpro.platform.auth.core.http.impl.Request
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class one.jpro.platform.auth.core.jwt.TokenCredentials
- EXPECTATION_FAILED - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- extractErrorDescription(JSONObject) - Static method in interface one.jpro.platform.auth.core.utils.AuthUtils
-
Extracts the error description from the specified JSON object.
F
- FAILED_DEPENDENCY - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- fetch(HttpMethod, String, JSONObject, String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2API
-
Base method to fetch the required information from the OAuth2 provider.
- findValueByKey(JSONObject, String) - Static method in interface one.jpro.platform.auth.core.utils.AuthUtils
-
Find the value of a key in a JSON object.
- flow(OAuth2Flow) - Method in interface one.jpro.platform.auth.core.api.FluentKeycloakAuth
-
Set the OAuth2 flow.
- flow(OAuth2Flow) - Method in class one.jpro.platform.auth.core.api.FluentKeycloakAuthAPI
- FluentBasicAuth - Interface in one.jpro.platform.auth.core.api
-
Fluent Basic (username and password) Authentication interface.
- FluentBasicAuthAPI - Class in one.jpro.platform.auth.core.api
-
Fluent Basic (username and password) Authentication API.
- FluentBasicAuthAPI() - Constructor for class one.jpro.platform.auth.core.api.FluentBasicAuthAPI
- FluentGoogleAuth - Interface in one.jpro.platform.auth.core.api
-
Fluent Google Authentication interface.
- FluentGoogleAuthAPI - Class in one.jpro.platform.auth.core.api
-
Fluent Google Authentication API.
- FluentGoogleAuthAPI() - Constructor for class one.jpro.platform.auth.core.api.FluentGoogleAuthAPI
- FluentKeycloakAuth - Interface in one.jpro.platform.auth.core.api
-
Fluent Keycloak Authentication interface.
- FluentKeycloakAuthAPI - Class in one.jpro.platform.auth.core.api
-
Fluent Keycloak Authentication API.
- FluentKeycloakAuthAPI() - Constructor for class one.jpro.platform.auth.core.api.FluentKeycloakAuthAPI
- FluentMicrosoftAuth - Interface in one.jpro.platform.auth.core.api
-
Fluent Microsoft Authentication interface.
- FluentMicrosoftAuthAPI - Class in one.jpro.platform.auth.core.api
-
Fluent Microsoft Authentication API.
- FluentMicrosoftAuthAPI() - Constructor for class one.jpro.platform.auth.core.api.FluentMicrosoftAuthAPI
- FORBIDDEN - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- FOUND - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- fromCode(int) - Static method in enum class one.jpro.platform.auth.core.http.HttpStatus
-
Returns the HttpStatus that corresponds to the given code.
- fromJSON(String) - Static method in class one.jpro.platform.auth.core.jwt.TokenCredentials
-
Creates a token credentials object with the given JSON formatted string.
G
- GATEWAY_TIMEOUT - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- gensalt() - Static method in class one.jpro.platform.auth.core.crypto.bcrypt.BCrypt
-
Generate a salt for use with the BCrypt.hashpw() method, selecting a reasonable default for the number of hashing rounds to apply
- gensalt(int) - Static method in class one.jpro.platform.auth.core.crypto.bcrypt.BCrypt
-
Generate a salt for use with the BCrypt.hashpw() method
- gensalt(int, SecureRandom) - Static method in class one.jpro.platform.auth.core.crypto.bcrypt.BCrypt
-
Generate a salt for use with the BCrypt.hashpw() method
- gensalt(String) - Static method in class one.jpro.platform.auth.core.crypto.bcrypt.BCrypt
- gensalt(String, int) - Static method in class one.jpro.platform.auth.core.crypto.bcrypt.BCrypt
-
Generate a salt for use with the BCrypt.hashpw() method
- gensalt(String, int, SecureRandom) - Static method in class one.jpro.platform.auth.core.crypto.bcrypt.BCrypt
-
Generate a salt for use with the BCrypt.hashpw() method
- GET - Enum constant in enum class one.jpro.platform.auth.core.http.HttpMethod
-
The HTTP method
GET. - getAcceptLength() - Method in class one.jpro.platform.auth.core.http.HttpOptions
-
Retrieves the maximum length of the accept queue for incoming connections.
- getAlgorithm() - Method in class one.jpro.platform.auth.core.oauth2.PubSecKeyOptions
-
Returns the algorithm.
- getAssertion() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- getAttribute(String) - Method in class one.jpro.platform.auth.core.authentication.User
-
Retrieves the value of a specific attribute.
- getAttributes() - Method in interface one.jpro.platform.auth.core.authentication.Authentication
-
Any additional attributes in the authentication.
- getAttributes() - Method in class one.jpro.platform.auth.core.authentication.User
- getAttributes() - Method in class one.jpro.platform.auth.core.basic.provider.BasicAuthenticationProvider
-
Gets the attributes associated with this authentication provider.
- getAudience() - Method in class one.jpro.platform.auth.core.jwt.JWTOptions
-
Gets the audience claim that identifies the recipients that the JWT is intended for.
- getAuthorizationPath() - Method in class one.jpro.platform.auth.core.basic.provider.BasicAuthenticationProvider
-
Gets the authorization path URI for basic authentication.
- getAuthorizationPath() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Returns the URL of the authorization server's authorization endpoint.
- getBuffer() - Method in class one.jpro.platform.auth.core.oauth2.PubSecKeyOptions
-
The PEM or Secret key buffer.
- getCacheSize() - Method in class one.jpro.platform.auth.core.jwt.JWTOptions
-
Gets the size of the cache for storing generated JWTs or validation data.
- getClaims() - Method in class one.jpro.platform.auth.core.jwt.JWTOptions
-
Gets the claims intended for the JWT token.
- getClientAssertion() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the client assertion used for OAuth2 authentication.
- getClientAssertionType() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the client assertion type used in OAuth2 authentication.
- getClientId() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the client ID used for OAuth2 authentication.
- getClientSecret() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the client secret used for OAuth2 authentication.
- getCode() - Method in enum class one.jpro.platform.auth.core.http.HttpStatus
-
Returns the HTTP status code.
- getCode() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- getCodeVerifier() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- getConcurrency() - Method in class one.jpro.platform.auth.core.http.HttpOptions
-
Retrieves the level of concurrency for HTTP operations.
- getCredentials() - Method in class one.jpro.platform.auth.core.oauth2.provider.OpenIDAuthenticationProvider
- getEmail() - Method in class one.jpro.platform.auth.core.authentication.User
-
Retrieve the user's email from the user's attributes.
- getExpiredAt() - Method in exception class one.jpro.platform.auth.core.jwt.TokenExpiredException
- getExpiresIn() - Method in class one.jpro.platform.auth.core.jwt.JWTOptions
-
Gets the duration after which the JWT should be considered expired.
- getExtraParams() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets extra parameters to be sent in OAuth2 requests.
- getFlow() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- getFlow() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the OAuth2 flow type.
- getFlow(String) - Static method in enum class one.jpro.platform.auth.core.oauth2.OAuth2Flow
- getFullRequestedURL() - Method in interface one.jpro.platform.auth.core.http.HttpServer
-
Return the full URL (with query string) the client used to request the server.
- getFullRequestedURL() - Method in class one.jpro.platform.auth.core.http.impl.HttpServerImpl
- getFullRequestedURL() - Method in class one.jpro.platform.auth.core.http.impl.JProServerImpl
- getGrantType() - Method in enum class one.jpro.platform.auth.core.oauth2.OAuth2Flow
- getHeaderLabel() - Method in class one.jpro.platform.auth.core.basic.LoginPane
-
Returns the header label of the login pane.
- getHeaders() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the custom headers to be sent in OAuth2 requests.
- getHost() - Method in class one.jpro.platform.auth.core.http.HttpOptions
-
Retrieves the host address currently set for HTTP connections.
- getId() - Method in class one.jpro.platform.auth.core.oauth2.PubSecKeyOptions
-
Returns the key identifier.
- getIntrospectionPath() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Returns the URL of the authorization server's introspection endpoint.
- getIssuer() - Method in class one.jpro.platform.auth.core.jwt.JWTOptions
-
Gets the issuer claim that identifies the principal that issued the JWT.
- getJwkMaxAge() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the maximum age of the JWK set before it is refreshed.
- getJwkPath() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Returns the URL of the authorization server's JSON Web Key Set (JWKS) endpoint.
- getJwt() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- getJWTOptions() - Method in class one.jpro.platform.auth.core.jwt.JWTAuthOptions
- getJWTOptions() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the JWT options used in OAuth2 authentication.
- getLeeway() - Method in class one.jpro.platform.auth.core.jwt.JWTOptions
-
Gets the leeway for the JWT token's expiration time validation in seconds.
- getLogoutPath() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Returns the URL of the authorization server's logout endpoint.
- getMaxRequestSize() - Method in class one.jpro.platform.auth.core.http.HttpOptions
-
Retrieves the maximum size for HTTP requests.
- getMessage() - Method in enum class one.jpro.platform.auth.core.http.HttpStatus
-
Returns the HTTP status message.
- getName() - Method in class one.jpro.platform.auth.core.authentication.User
- getNonce() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- getNonceAlgorithm() - Method in class one.jpro.platform.auth.core.jwt.JWTOptions
-
Gets the algorithm used to generate a nonce for the JWT token.
- getNormalizedRedirectUri() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
-
Returns the normalized version of the redirect uri.
- getOptions() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2API
-
Returns the options used to configure this API.
- getOptions() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2AuthenticationProvider
-
Returns the options used to configure this provider.
- getParameters() - Method in interface one.jpro.platform.auth.core.http.HttpServer
-
Return the parameters of the request.
- getPassword() - Method in class one.jpro.platform.auth.core.basic.UsernamePasswordCredentials
-
Gets the value of the
passwordproperty. - getPassword() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- getPasswordField() - Method in class one.jpro.platform.auth.core.basic.LoginPane
-
Returns the password field of the login pane.
- getPasswordLabel() - Method in class one.jpro.platform.auth.core.basic.LoginPane
-
Returns the password label of the login pane.
- getPort() - Method in class one.jpro.platform.auth.core.http.HttpOptions
-
Retrieves the port number currently set for HTTP connections.
- getPubSecKeys() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the public and secret key options used in OAuth2 authentication.
- getQueryParams() - Method in interface one.jpro.platform.auth.core.http.HttpServer
- getReadBufferSize() - Method in class one.jpro.platform.auth.core.http.HttpOptions
-
Retrieves the size of the read buffer for HTTP connections.
- getRedirectUri() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- getRequestedURL() - Method in interface one.jpro.platform.auth.core.http.HttpServer
-
Return the full URL (without the query string) the client used to request the server.
- getRequestTimeout() - Method in class one.jpro.platform.auth.core.http.HttpOptions
-
Retrieves the request timeout duration for HTTP operations.
- getResolution() - Method in class one.jpro.platform.auth.core.http.HttpOptions
-
Retrieves the resolution duration for HTTP connections.
- getRevocationPath() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Returns the URL of the authorization server's revocation endpoint.
- getRoles() - Method in interface one.jpro.platform.auth.core.authentication.Authentication
-
Any roles associated with the authentication.
- getRoles() - Method in class one.jpro.platform.auth.core.authentication.User
- getRoles() - Method in class one.jpro.platform.auth.core.basic.provider.BasicAuthenticationProvider
-
Gets the set of roles associated with this authentication provider.
- getScopes() - Method in class one.jpro.platform.auth.core.jwt.TokenCredentials
- getScopes() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- getScopeSeparator() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the scope separator used in OAuth2 requests.
- getServerHost() - Method in interface one.jpro.platform.auth.core.http.HttpServer
-
Return the server host.
- getServerHost() - Method in class one.jpro.platform.auth.core.http.impl.HttpServerImpl
- getServerHost() - Method in class one.jpro.platform.auth.core.http.impl.JProServerImpl
- getServerPort() - Method in interface one.jpro.platform.auth.core.http.HttpServer
-
Return the server port.
- getServerPort() - Method in class one.jpro.platform.auth.core.http.impl.HttpServerImpl
- getServerPort() - Method in class one.jpro.platform.auth.core.http.impl.JProServerImpl
- getSite() - Method in class one.jpro.platform.auth.core.jwt.JWTAuthOptions
- getSite() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the site URL used in forming OAuth2 endpoints.
- getState() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- getSubject() - Method in class one.jpro.platform.auth.core.jwt.JWTOptions
-
Gets the subject claim that identifies the principal that is the subject of the JWT.
- getSubmitButton() - Method in class one.jpro.platform.auth.core.basic.LoginPane
-
Returns the submit button of the login pane.
- getSupportedClaims() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the supported claims.
- getSupportedCodeChallengeMethods() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the supported code challenge methods.
- getSupportedGrantTypes() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the supported grant types.
- getSupportedIdTokenSigningAlgValues() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the supported ID token signing algorithm values.
- getSupportedIntrospectionEndpointAuthMethods() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the supported introspection endpoint authentication methods.
- getSupportedRequestObjectSigningAlgValues() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the supported request object signing algorithm values.
- getSupportedResponseModes() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the supported response modes.
- getSupportedResponseTypes() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the supported response types.
- getSupportedRevocationEndpointAuthMethods() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the supported revocation endpoint authentication methods.
- getSupportedScopes() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the supported scopes.
- getSupportedSubjectTypes() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the supported subject types.
- getSupportedTokenEndpointAuthMethods() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the supported token endpoint authentication methods.
- getTenant() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the tenant identifier used in OAuth2 requests.
- getToken() - Method in class one.jpro.platform.auth.core.jwt.TokenCredentials
- getTokenPath() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Returns the URL of the authorization server's token endpoint.
- getUserAgent() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the user agent string to be used in OAuth2 requests.
- getUserInfoParams() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Gets the user information parameters.
- getUserInfoPath() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Returns the URL of the authorization server's userinfo endpoint.
- getUserManager() - Method in class one.jpro.platform.auth.core.basic.provider.BasicAuthenticationProvider
-
Gets the user manager associated with this authentication provider.
- getUsername() - Method in class one.jpro.platform.auth.core.basic.UsernamePasswordCredentials
-
Gets the value of the
usernameproperty. - getUsername() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- getUsernameField() - Method in class one.jpro.platform.auth.core.basic.LoginPane
-
Returns the username text field of the login pane.
- getUsernameLabel() - Method in class one.jpro.platform.auth.core.basic.LoginPane
-
Returns the username label of the login pane.
- getValue() - Method in enum class one.jpro.platform.auth.core.crypto.bcrypt.BCrypt.Version
- GONE - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- googleAuth() - Static method in interface one.jpro.platform.auth.core.AuthAPI
-
Configure and create a Google authentication provider.
- GoogleAuthenticationProvider - Class in one.jpro.platform.auth.core.oauth2.provider
-
Simplified factory to create an
OAuth2AuthenticationProviderfor Google. - GoogleAuthenticationProvider(Stage, String, String) - Constructor for class one.jpro.platform.auth.core.oauth2.provider.GoogleAuthenticationProvider
-
Create an
OAuth2AuthenticationProviderfor Google. - GoogleAuthenticationProvider(Stage, OAuth2Options) - Constructor for class one.jpro.platform.auth.core.oauth2.provider.GoogleAuthenticationProvider
-
Create an
OAuth2AuthenticationProviderfor Google.
H
- hasAttribute(String) - Method in class one.jpro.platform.auth.core.authentication.User
-
Checks if the user has a specific attribute.
- hashCode() - Method in class one.jpro.platform.auth.core.basic.UsernamePasswordCredentials
- hashCode() - Method in record class one.jpro.platform.auth.core.http.impl.Header
-
Returns a hash code value for this object.
- hashCode() - Method in record class one.jpro.platform.auth.core.http.impl.Request
-
Returns a hash code value for this object.
- hashCode() - Method in class one.jpro.platform.auth.core.jwt.TokenCredentials
- hasHeader(String, String) - Method in record class one.jpro.platform.auth.core.http.impl.Request
-
Checks if the request has a header with the specified name and value.
- hashpw(byte[], String) - Static method in class one.jpro.platform.auth.core.crypto.bcrypt.BCrypt
-
Hash a password using the OpenBSD bcrypt scheme
- hashpw(String, String) - Static method in class one.jpro.platform.auth.core.crypto.bcrypt.BCrypt
-
Hash a password using the OpenBSD bcrypt scheme
- hasRole(String) - Method in class one.jpro.platform.auth.core.authentication.User
-
Checks if the user has a specific role.
- HEAD - Enum constant in enum class one.jpro.platform.auth.core.http.HttpMethod
-
The HTTP method
HEAD. - header(String) - Method in record class one.jpro.platform.auth.core.http.impl.Request
-
Retrieves the value of the specified header.
- Header - Record Class in one.jpro.platform.auth.core.http.impl
-
HTTP header with the given name and value.
- Header(String, String) - Constructor for record class one.jpro.platform.auth.core.http.impl.Header
-
Creates an instance of a
Headerrecord class. - headers() - Method in record class one.jpro.platform.auth.core.http.impl.Request
-
Returns the value of the
headersrecord component. - HTTP_VERSION_NOT_SUPPORTED - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- HttpMethod - Enum Class in one.jpro.platform.auth.core.http
-
Represents an HTTP method.
- HttpOptions - Class in one.jpro.platform.auth.core.http
-
Represents configuration options for
HttpServerconfiguration. - HttpOptions() - Constructor for class one.jpro.platform.auth.core.http.HttpOptions
- HttpServer - Interface in one.jpro.platform.auth.core.http
-
Http server interface.
- HttpServerException - Exception Class in one.jpro.platform.auth.core.http
-
A runtime exception thrown when the http server fails.
- HttpServerException(String) - Constructor for exception class one.jpro.platform.auth.core.http.HttpServerException
-
Constructs a new http server exception with the specified detail message.
- HttpServerException(String, Throwable) - Constructor for exception class one.jpro.platform.auth.core.http.HttpServerException
-
Constructs a new http server exception with the specified detail message and cause.
- HttpServerException(Throwable) - Constructor for exception class one.jpro.platform.auth.core.http.HttpServerException
-
Constructs a new http server exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
- HttpServerImpl - Class in one.jpro.platform.auth.core.http.impl
-
Implementation of the
HttpServerinterface when running the application in a desktop/device environment. - HttpServerImpl(Stage, HttpOptions) - Constructor for class one.jpro.platform.auth.core.http.impl.HttpServerImpl
-
Creates HTTP server.
- HttpStatus - Enum Class in one.jpro.platform.auth.core.http
-
Http status codes.
I
- IM_A_TEAPOT - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- IM_USED - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- InMemoryUserManager - Class in one.jpro.platform.auth.core.basic
-
Non-persistent implementation of
UserDetailsManagerwhich is backed by an in-memory map. - InMemoryUserManager() - Constructor for class one.jpro.platform.auth.core.basic.InMemoryUserManager
- InMemoryUserManager(Collection<User>) - Constructor for class one.jpro.platform.auth.core.basic.InMemoryUserManager
- InMemoryUserManager(User...) - Constructor for class one.jpro.platform.auth.core.basic.InMemoryUserManager
- INSUFFICIENT_STORAGE - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- INTERNAL_SERVER_ERROR - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- introspect(User, String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2AuthenticationProvider
-
Determine the active state of an OAuth 2.0 token.
- isIgnoreIssuedAt() - Method in class one.jpro.platform.auth.core.jwt.JWTOptions
-
Checks if the "issued at" claim (iat) is being ignored for the JWT validation.
- isReuseAddr() - Method in class one.jpro.platform.auth.core.http.HttpOptions
-
Returns whether the reuse address flag is enabled for the HTTP connections.
- isReusePort() - Method in class one.jpro.platform.auth.core.http.HttpOptions
-
Returns the value of the reuse port flag for the HTTP connections.
- isSupportedRequestParameter() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Checks if the request parameter is supported.
- isUseLoopbackIpAddress() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Checks if loopback IP address is used.
- isValidateIssuer() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Checks if issuer validation is enabled.
- isVerifyToken() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Checks if token verification is enabled.
J
- JProServerImpl - Class in one.jpro.platform.auth.core.http.impl
-
Implementation of the
HttpServerinterface when running the application via JPro server. - JProServerImpl(WebAPI) - Constructor for class one.jpro.platform.auth.core.http.impl.JProServerImpl
-
Creates a new instance with the specified WebAPI.
- jsonToQuery(JSONObject) - Static method in interface one.jpro.platform.auth.core.utils.AuthUtils
-
Converts a JSON object to a query string.
- jwkSet() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2API
-
Retrieve the public server JSON Web Key (JWK) required to verify the authenticity of issued ID and access tokens.
- JWTAuthAPI - Class in one.jpro.platform.auth.core.jwt
-
JWTAuth API class.
- JWTAuthAPI(JWTAuthOptions) - Constructor for class one.jpro.platform.auth.core.jwt.JWTAuthAPI
- JWTAuthenticationProvider - Class in one.jpro.platform.auth.core.jwt
-
JSON Web Token authentication provider.
- JWTAuthenticationProvider(JWTAuthOptions) - Constructor for class one.jpro.platform.auth.core.jwt.JWTAuthenticationProvider
-
Default constructor.
- JWTAuthOptions - Class in one.jpro.platform.auth.core.jwt
-
Options describing how an
JWTAuthenticationProvidershould behave. - JWTAuthOptions() - Constructor for class one.jpro.platform.auth.core.jwt.JWTAuthOptions
-
Default constructor.
- JWTAuthOptions(JWTAuthOptions) - Constructor for class one.jpro.platform.auth.core.jwt.JWTAuthOptions
-
Copy constructor.
- JWTOptions - Class in one.jpro.platform.auth.core.jwt
-
Options describing a JWT (JSON Web Token).
- JWTOptions() - Constructor for class one.jpro.platform.auth.core.jwt.JWTOptions
-
Default constructor.
- JWTOptions(JWTOptions) - Constructor for class one.jpro.platform.auth.core.jwt.JWTOptions
-
Copy constructor for JWTOptions.
K
- KEY_ATTRIBUTES - Static variable in interface one.jpro.platform.auth.core.authentication.Authentication
- KEY_NAME - Static variable in interface one.jpro.platform.auth.core.authentication.Authentication
- KEY_ROLES - Static variable in interface one.jpro.platform.auth.core.authentication.Authentication
- keycloakAuth() - Static method in interface one.jpro.platform.auth.core.AuthAPI
-
Configure and create a Keycloak authentication provider.
- KeycloakAuthenticationProvider - Class in one.jpro.platform.auth.core.oauth2.provider
-
Simplified factory to create an
OAuth2AuthenticationProviderfor Keycloak. - KeycloakAuthenticationProvider(Stage, OAuth2Options) - Constructor for class one.jpro.platform.auth.core.oauth2.provider.KeycloakAuthenticationProvider
-
Create an
OAuth2AuthenticationProviderfor Keycloak. - KeycloakAuthenticationProvider(Stage, OAuth2Flow, JSONObject) - Constructor for class one.jpro.platform.auth.core.oauth2.provider.KeycloakAuthenticationProvider
-
Create an
OAuth2AuthenticationProviderfor Keycloak. - KeycloakAuthenticationProvider(Stage, JSONObject) - Constructor for class one.jpro.platform.auth.core.oauth2.provider.KeycloakAuthenticationProvider
-
Create an
OAuth2AuthenticationProviderfor Keycloak.
L
- LENGTH_REQUIRED - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- loadUserByUsername(String) - Method in class one.jpro.platform.auth.core.basic.InMemoryUserManager
- loadUserByUsername(String) - Method in interface one.jpro.platform.auth.core.basic.UserManager
-
Locates the user based on the username.
- LOCKED - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- LoginPane - Class in one.jpro.platform.auth.core.basic
-
This class represents a login pane.
- LoginPane(UsernamePasswordCredentials) - Constructor for class one.jpro.platform.auth.core.basic.LoginPane
-
Constructs a new LoginPane with the specified credentials.
- LoginPane(UsernamePasswordCredentials, ResourceBundle) - Constructor for class one.jpro.platform.auth.core.basic.LoginPane
-
Constructs a new LoginPane with the specified credentials and a resource bundle for localization.
- logout(String, String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2API
-
Logout the user from the OAuth2 provider.
- logout(User) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2AuthenticationProvider
-
Logout the user from this OAuth2 provider.
- LOOP_DETECTED - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
M
- matches(CharSequence, String) - Method in class one.jpro.platform.auth.core.crypto.bcrypt.BCryptPasswordEncoder
- matches(CharSequence, String) - Method in interface one.jpro.platform.auth.core.crypto.PasswordEncoder
-
Verify the encoded password obtained from storage matches the submitted raw password after it too is encoded.
- method() - Method in record class one.jpro.platform.auth.core.http.impl.Request
-
Returns the value of the
methodrecord component. - METHOD_NOT_ALLOWED - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- microsoftAuth() - Static method in interface one.jpro.platform.auth.core.AuthAPI
-
Configure and create a Microsoft authentication provider.
- MicrosoftAuthenticationProvider - Class in one.jpro.platform.auth.core.oauth2.provider
-
Simplified factory to create an
OAuth2AuthenticationProviderfor Microsoft. - MicrosoftAuthenticationProvider(Stage, String, String, String) - Constructor for class one.jpro.platform.auth.core.oauth2.provider.MicrosoftAuthenticationProvider
-
Create an
OAuth2AuthenticationProviderfor Microsoft. - MicrosoftAuthenticationProvider(Stage, OAuth2Options) - Constructor for class one.jpro.platform.auth.core.oauth2.provider.MicrosoftAuthenticationProvider
-
Create an
OAuth2AuthenticationProviderfor Microsoft. - MISDIRECTED_REQUEST - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- MOVED_PERMANENTLY - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- MULTI_STATUS - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- MULTIPLE_CHOICES - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
N
- name() - Method in record class one.jpro.platform.auth.core.http.impl.Header
-
Returns the value of the
namerecord component. - NETWORK_AUTHENTICATION_REQUIRED - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- NO_CONTENT - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- NON_AUTHORITATIVE_INFORMATION - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- NOT_ACCEPTABLE - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- NOT_FOUND - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- NOT_IMPLEMENTED - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- NOT_MODIFIED - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
O
- OAuth2API - Class in one.jpro.platform.auth.core.oauth2
-
OAuth2 API provides the required functionalities to interact with an OAuth2 provider.
- OAuth2API(OAuth2Options) - Constructor for class one.jpro.platform.auth.core.oauth2.OAuth2API
-
Creates an OAuth2 API object.
- OAuth2AuthenticationProvider - Class in one.jpro.platform.auth.core.oauth2
-
Base class for creating an OAuth2 authentication provider.
- OAuth2AuthenticationProvider(Stage, OAuth2API) - Constructor for class one.jpro.platform.auth.core.oauth2.OAuth2AuthenticationProvider
-
Creates an OAuth2 authentication provider.
- OAuth2AuthenticationProvider(Stage, OAuth2Options) - Constructor for class one.jpro.platform.auth.core.oauth2.OAuth2AuthenticationProvider
-
Creates an OAuth2 authentication provider.
- OAuth2Credentials - Class in one.jpro.platform.auth.core.oauth2
-
Credentials specific to the
OAuth2AuthenticationProvider. - OAuth2Credentials() - Constructor for class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
-
Default constructor.
- OAuth2Flow - Enum Class in one.jpro.platform.auth.core.oauth2
-
OAuth2 flows.
- OAuth2Options - Class in one.jpro.platform.auth.core.oauth2
-
This class represents the configuration options for OAuth2 authentication and authorization.
- OAuth2Options() - Constructor for class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Default constructor.
- OAuth2Options(OAuth2Options) - Constructor for class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Copy constructor.
- OK - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- one.jpro.platform.auth.core - module one.jpro.platform.auth.core
-
Module descriptor for the Auth Core module.
- one.jpro.platform.auth.core - package one.jpro.platform.auth.core
- one.jpro.platform.auth.core.api - package one.jpro.platform.auth.core.api
- one.jpro.platform.auth.core.authentication - package one.jpro.platform.auth.core.authentication
- one.jpro.platform.auth.core.basic - package one.jpro.platform.auth.core.basic
- one.jpro.platform.auth.core.basic.provider - package one.jpro.platform.auth.core.basic.provider
- one.jpro.platform.auth.core.crypto - package one.jpro.platform.auth.core.crypto
- one.jpro.platform.auth.core.crypto.bcrypt - package one.jpro.platform.auth.core.crypto.bcrypt
- one.jpro.platform.auth.core.http - package one.jpro.platform.auth.core.http
- one.jpro.platform.auth.core.http.impl - package one.jpro.platform.auth.core.http.impl
- one.jpro.platform.auth.core.jwt - package one.jpro.platform.auth.core.jwt
- one.jpro.platform.auth.core.oauth2 - package one.jpro.platform.auth.core.oauth2
- one.jpro.platform.auth.core.oauth2.provider - package one.jpro.platform.auth.core.oauth2.provider
- one.jpro.platform.auth.core.utils - package one.jpro.platform.auth.core.utils
- OpenIDAuthenticationProvider - Class in one.jpro.platform.auth.core.oauth2.provider
-
OpenID's authentication provider.
- OpenIDAuthenticationProvider(Stage, OAuth2API) - Constructor for class one.jpro.platform.auth.core.oauth2.provider.OpenIDAuthenticationProvider
-
Creates a OAuth2 authentication provider.
- OpenIDAuthenticationProvider(Stage, OAuth2Options) - Constructor for class one.jpro.platform.auth.core.oauth2.provider.OpenIDAuthenticationProvider
-
Creates a OAuth2 authentication provider.
- openURL(String) - Method in interface one.jpro.platform.auth.core.http.HttpServer
-
Opens the given URL string in the browser.
- openURL(String) - Method in class one.jpro.platform.auth.core.http.impl.HttpServerImpl
- openURL(String) - Method in class one.jpro.platform.auth.core.http.impl.JProServerImpl
- options - Variable in class one.jpro.platform.auth.core.oauth2.OAuth2API
- Options - Interface in one.jpro.platform.auth.core.authentication
-
An Options object is used for configuration purpose.
- OPTIONS - Enum constant in enum class one.jpro.platform.auth.core.http.HttpMethod
-
The HTTP method
OPTIONS. - ORGANIZATIONS_TENANT - Static variable in class one.jpro.platform.auth.core.oauth2.provider.MicrosoftAuthenticationProvider
-
The organizations tenant identifier for Microsoft OAuth2.
P
- PARTIAL_CONTENT - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- PASSWORD - Enum constant in enum class one.jpro.platform.auth.core.oauth2.OAuth2Flow
- PasswordEncoder - Interface in one.jpro.platform.auth.core.crypto
-
Password encoder interface.
- passwordProperty() - Method in class one.jpro.platform.auth.core.basic.UsernamePasswordCredentials
- PATCH - Enum constant in enum class one.jpro.platform.auth.core.http.HttpMethod
-
The HTTP method
PATCH. - PAYMENT_REQUIRED - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- PERMANENT_REDIRECT - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- POST - Enum constant in enum class one.jpro.platform.auth.core.http.HttpMethod
-
The HTTP method
POST. - PRECONDITION_FAILED - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- PRECONDITION_REQUIRED - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- PROCESSING - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- processNonStandardHeaders(JSONObject, HttpResponse<String>, String) - Static method in interface one.jpro.platform.auth.core.utils.AuthUtils
-
Processes the non-standard headers.
- PROXY_AUTHENTICATION_REQUIRED - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- PubSecKeyOptions - Class in one.jpro.platform.auth.core.oauth2
-
Options describing Key stored in PEM format.
- PubSecKeyOptions() - Constructor for class one.jpro.platform.auth.core.oauth2.PubSecKeyOptions
-
Default constructor
- PubSecKeyOptions(PubSecKeyOptions) - Constructor for class one.jpro.platform.auth.core.oauth2.PubSecKeyOptions
-
Copy constructor.
- PUT - Enum constant in enum class one.jpro.platform.auth.core.http.HttpMethod
-
The HTTP method
PUT.
Q
- queryToJson(String) - Static method in interface one.jpro.platform.auth.core.utils.AuthUtils
-
Converts a query string to a JSON object.
R
- RANGE_NOT_SATISFIABLE - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- realm(String) - Method in interface one.jpro.platform.auth.core.api.FluentKeycloakAuth
-
Set the realm.
- realm(String) - Method in class one.jpro.platform.auth.core.api.FluentKeycloakAuthAPI
- redirectUri(String) - Method in interface one.jpro.platform.auth.core.api.FluentGoogleAuth
-
Set the redirect uri.
- redirectUri(String) - Method in class one.jpro.platform.auth.core.api.FluentGoogleAuthAPI
- redirectUri(String) - Method in interface one.jpro.platform.auth.core.api.FluentKeycloakAuth
-
Set the redirect uri.
- redirectUri(String) - Method in class one.jpro.platform.auth.core.api.FluentKeycloakAuthAPI
- redirectUri(String) - Method in interface one.jpro.platform.auth.core.api.FluentMicrosoftAuth
-
Set the redirect uri.
- redirectUri(String) - Method in class one.jpro.platform.auth.core.api.FluentMicrosoftAuthAPI
- refresh(User) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2AuthenticationProvider
-
Refreshes the user's access token.
- replaceVariables(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Replaces the tenant/realm variable in the given path.
- Request - Record Class in one.jpro.platform.auth.core.http.impl
-
This class represents discrete HTTP requests with request line, headers, and body.
- Request(String, String, String, List<Header>, byte[]) - Constructor for record class one.jpro.platform.auth.core.http.impl.Request
-
Creates an instance of a
Requestrecord class. - REQUEST_HEADER_FIELDS_TOO_LARGE - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- REQUEST_TIMEOUT - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- requireNonNullOrBlank(String, String) - Static method in interface one.jpro.platform.auth.core.utils.AuthUtils
-
Checks that the specified string is not
nulland throws a customizedNullPointerExceptionif it is, or blank and throws a customizedIllegalArgumentExceptionif it is. - RESET_CONTENT - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- revoke(User, String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2AuthenticationProvider
-
Revokes an obtained access or refresh token.
- roles(String...) - Method in interface one.jpro.platform.auth.core.api.FluentBasicAuth
-
Set the roles.
- roles(String...) - Method in class one.jpro.platform.auth.core.api.FluentBasicAuthAPI
S
- SEE_OTHER - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- SERVICE_UNAVAILABLE - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- setAcceptLength(int) - Method in class one.jpro.platform.auth.core.http.HttpOptions
-
Sets the maximum length of the accept queue for incoming connections.
- setAlgorithm(String) - Method in class one.jpro.platform.auth.core.oauth2.PubSecKeyOptions
-
Sets the algorithm.
- setAssertion(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- setAttributes(Map<String, Object>) - Method in class one.jpro.platform.auth.core.basic.provider.BasicAuthenticationProvider
-
Sets the attributes to be associated with this authentication provider.
- setAudience(List<String>) - Method in class one.jpro.platform.auth.core.jwt.JWTOptions
-
Sets the audience claim that identifies the recipients that the JWT is intended for.
- setAuthorizationPath(String) - Method in class one.jpro.platform.auth.core.basic.provider.BasicAuthenticationProvider
-
Sets the authorization path for basic authentication.
- setAuthorizationPath(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the URL of the authorization server's authorization endpoint.
- setBuffer(String) - Method in class one.jpro.platform.auth.core.oauth2.PubSecKeyOptions
-
The PEM or Secret key buffer.
- setBuffer(Buffer) - Method in class one.jpro.platform.auth.core.oauth2.PubSecKeyOptions
-
The PEM or Secret key buffer.
- setCacheSize(long) - Method in class one.jpro.platform.auth.core.jwt.JWTOptions
-
Sets the size of the cache for storing generated JWTs or validation data.
- setClaims(List<String>) - Method in class one.jpro.platform.auth.core.jwt.JWTOptions
-
Sets the claims for the JWT token.
- setClientAssertion(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the client assertion to be used for OAuth2 authentication.
- setClientAssertionType(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the client assertion type to be used in OAuth2 authentication.
- setClientId(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the client ID to be used for OAuth2 authentication.
- setClientSecret(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the client secret to be used for OAuth2 authentication.
- setCode(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- setCodeVerifier(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- setConcurrency(int) - Method in class one.jpro.platform.auth.core.http.HttpOptions
-
Sets the level of concurrency for HTTP operations.
- setExpiresIn(Duration) - Method in class one.jpro.platform.auth.core.jwt.JWTOptions
-
Gets the duration after which the JWT should be considered expired.
- setExtraParams(JSONObject) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets extra parameters to be included in OAuth2 requests.
- setFlow(OAuth2Flow) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- setFlow(OAuth2Flow) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the OAuth2 flow type.
- setHeaders(JSONObject) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets custom headers to be sent in OAuth2 requests.
- setHost(String) - Method in class one.jpro.platform.auth.core.http.HttpOptions
-
Sets the host address for HTTP connections.
- setId(String) - Method in class one.jpro.platform.auth.core.oauth2.PubSecKeyOptions
-
Sets the key identifier.
- setIgnoreIssuedAt(boolean) - Method in class one.jpro.platform.auth.core.jwt.JWTOptions
-
Sets whether the "issued at" claim (iat) should be ignored for the JWT validation.
- setIntrospectionPath(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the URL of the authorization server's introspection endpoint.
- setIssuer(String) - Method in class one.jpro.platform.auth.core.jwt.JWTOptions
-
Sets the issuer claim that identifies the principal that issued the JWT.
- setJwkMaxAge(long) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the maximum age of the JWK set before it needs to be refreshed.
- setJwkPath(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the URL of the authorization server's JSON Web Key Set (JWKS) endpoint.
- setJwt(JSONObject) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- setJWTOptions(JWTOptions) - Method in class one.jpro.platform.auth.core.jwt.JWTAuthOptions
- setJWTOptions(JWTOptions) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the JWT options to be used in OAuth2 authentication.
- setLeeway(long) - Method in class one.jpro.platform.auth.core.jwt.JWTOptions
-
Sets the leeway for the JWT token's expiration time validation in seconds.
- setLogoutPath(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the URL of the authorization server's logout endpoint.
- setMaxRequestSize(int) - Method in class one.jpro.platform.auth.core.http.HttpOptions
-
Sets the maximum size for HTTP requests.
- setNonce(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- setNonceAlgorithm(String) - Method in class one.jpro.platform.auth.core.jwt.JWTOptions
-
Sets the algorithm used to generate a nonce for the JWT token.
- setPassword(String) - Method in class one.jpro.platform.auth.core.basic.UsernamePasswordCredentials
-
Sets the value of the
passwordproperty. - setPassword(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- setPort(int) - Method in class one.jpro.platform.auth.core.http.HttpOptions
-
Sets the port number for HTTP connections.
- setPubSecKeys(List<PubSecKeyOptions>) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the public and secret key options to be used in OAuth2 authentication.
- setReadBufferSize(int) - Method in class one.jpro.platform.auth.core.http.HttpOptions
-
Sets the size of the read buffer for HTTP connections.
- setRedirectUri(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- setRequestTimeout(Duration) - Method in class one.jpro.platform.auth.core.http.HttpOptions
-
Sets the request timeout duration for HTTP operations.
- setResolution(Duration) - Method in class one.jpro.platform.auth.core.http.HttpOptions
-
Sets the resolution duration for HTTP connections.
- setReuseAddr(boolean) - Method in class one.jpro.platform.auth.core.http.HttpOptions
-
Sets the reuse address flag for the HTTP connections.
- setReusePort(boolean) - Method in class one.jpro.platform.auth.core.http.HttpOptions
-
Sets the value of the reuse port flag for the HTTP connections.
- setRevocationPath(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the URL of the authorization server's revocation endpoint.
- setRoles(Set<String>) - Method in class one.jpro.platform.auth.core.basic.provider.BasicAuthenticationProvider
-
Sets the roles to be associated with this authentication provider.
- setScopes(List<String>) - Method in class one.jpro.platform.auth.core.jwt.TokenCredentials
- setScopes(List<String>) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- setScopeSeparator(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the scope separator to be used in OAuth2 requests.
- setSite(String) - Method in class one.jpro.platform.auth.core.jwt.JWTAuthOptions
- setSite(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the site URL to be used in forming OAuth2 endpoints.
- setState(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- setSubject(String) - Method in class one.jpro.platform.auth.core.jwt.JWTOptions
-
Sets the subject claim that identifies the principal that is the subject of the JWT.
- setSupportedClaims(List<String>) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the supported claims.
- setSupportedCodeChallengeMethods(List<String>) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the supported code challenge methods.
- setSupportedGrantTypes(List<String>) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the supported grant types.
- setSupportedIdTokenSigningAlgValues(List<String>) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the supported ID token signing algorithm values.
- setSupportedIntrospectionEndpointAuthMethods(List<String>) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the supported introspection endpoint authentication methods.
- setSupportedRequestObjectSigningAlgValues(List<String>) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the supported request object signing algorithm values.
- setSupportedRequestParameter(boolean) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets whether the request parameter is supported.
- setSupportedResponseModes(List<String>) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the supported response modes.
- setSupportedResponseTypes(List<String>) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the supported response types.
- setSupportedRevocationEndpointAuthMethods(List<String>) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the supported revocation endpoint authentication methods.
- setSupportedScopes(List<String>) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the supported scopes.
- setSupportedSubjectTypes(List<String>) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the supported subject types.
- setSupportedTokenEndpointAuthMethods(List<String>) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the supported token endpoint authentication methods.
- setTenant(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the tenant identifier to be used in OAuth2 requests.
- setToken(String) - Method in class one.jpro.platform.auth.core.jwt.TokenCredentials
- setTokenPath(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the URL of the authorization server's token endpoint.
- setUseLoopbackIpAddress(boolean) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets whether to use loopback IP address.
- setUserAgent(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the user agent string to be used in OAuth2 requests.
- setUserInfoParams(JSONObject) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the user information parameters.
- setUserInfoPath(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Sets the URL of the authorization server's userinfo endpoint.
- setUserManager(UserManager) - Method in class one.jpro.platform.auth.core.basic.provider.BasicAuthenticationProvider
-
Sets the user manager to be associated with this authentication provider.
- setUsername(String) - Method in class one.jpro.platform.auth.core.basic.UsernamePasswordCredentials
-
Sets the value of the
usernameproperty. - setUsername(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- setValidateIssuer(boolean) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Enables or disables issuer validation.
- setVerifyToken(boolean) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Enables or disables token verification.
- site(String) - Method in interface one.jpro.platform.auth.core.api.FluentKeycloakAuth
-
Set the site.
- site(String) - Method in class one.jpro.platform.auth.core.api.FluentKeycloakAuthAPI
- start() - Method in interface one.jpro.platform.auth.core.http.HttpServer
-
Starts the server.
- start() - Method in class one.jpro.platform.auth.core.http.impl.HttpServerImpl
- start() - Method in class one.jpro.platform.auth.core.http.impl.JProServerImpl
- stop() - Method in interface one.jpro.platform.auth.core.http.HttpServer
-
Stops the server.
- stop() - Method in class one.jpro.platform.auth.core.http.impl.HttpServerImpl
- stop() - Method in class one.jpro.platform.auth.core.http.impl.JProServerImpl
- SWITCHING_PROTOCOLS - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
T
- TEMPORARY_REDIRECT - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- tenant(String) - Method in interface one.jpro.platform.auth.core.api.FluentMicrosoftAuth
-
Set the tenant.
- tenant(String) - Method in class one.jpro.platform.auth.core.api.FluentMicrosoftAuthAPI
- toHttpAuthorization() - Method in interface one.jpro.platform.auth.core.authentication.Credentials
-
Encodes this credential as an HTTP Authorization https://tools.ietf.org/html/rfc7235.
- toHttpAuthorization() - Method in class one.jpro.platform.auth.core.basic.UsernamePasswordCredentials
- toHttpAuthorization() - Method in class one.jpro.platform.auth.core.jwt.TokenCredentials
- toJSON() - Method in interface one.jpro.platform.auth.core.authentication.Authentication
-
Convert the authentication information to JSON format.
- toJSON() - Method in interface one.jpro.platform.auth.core.authentication.Credentials
-
Convert the credential information to JSON format.
- toJSON() - Method in interface one.jpro.platform.auth.core.authentication.Options
-
Convert all configuration information to JSON format.
- toJSON() - Method in class one.jpro.platform.auth.core.basic.UsernamePasswordCredentials
- toJSON() - Method in class one.jpro.platform.auth.core.http.HttpOptions
-
Converts the current settings of
HttpOptionsto a JSON representation. - toJSON() - Method in class one.jpro.platform.auth.core.jwt.JWTAuthOptions
- toJSON() - Method in class one.jpro.platform.auth.core.jwt.JWTOptions
-
Converts the current JWT options to a JSON object suitable for serialization.
- toJSON() - Method in class one.jpro.platform.auth.core.jwt.TokenCredentials
- toJSON() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- toJSON() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
- toJSON() - Method in class one.jpro.platform.auth.core.oauth2.PubSecKeyOptions
- toJSON(TokenCredentials) - Static method in class one.jpro.platform.auth.core.jwt.TokenCredentials
-
Convert the token credential information to JSON format and provides it as a string.
- token(String, JSONObject) - Method in class one.jpro.platform.auth.core.jwt.JWTAuthAPI
-
Post a request to the token endpoint to obtain a JWT.
- token(String, JSONObject) - Method in class one.jpro.platform.auth.core.jwt.JWTAuthenticationProvider
-
Retrieves the token from the given token path and authentication info.
- token(String, JSONObject) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2API
-
Post an OAuth 2.0 grant (code, refresh token, resource owner password credentials, client credentials) to obtain an ID and / or access token.
- TokenCredentials - Class in one.jpro.platform.auth.core.jwt
-
Credentials used by an
AuthenticationProviderthat requires tokens, such as OAuth2, to perform its authentication. - TokenCredentials(String) - Constructor for class one.jpro.platform.auth.core.jwt.TokenCredentials
-
Creates a token credentials with the given token.
- TokenCredentials(User) - Constructor for class one.jpro.platform.auth.core.jwt.TokenCredentials
-
Creates a token credentials from a user object.
- TokenCredentials(JSONObject) - Constructor for class one.jpro.platform.auth.core.jwt.TokenCredentials
-
Creates a token credentials from a json object.
- TokenExpiredException - Exception Class in one.jpro.platform.auth.core.jwt
-
Token expired exception.
- TokenExpiredException(String, Instant) - Constructor for exception class one.jpro.platform.auth.core.jwt.TokenExpiredException
- tokenIntrospection(String, String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2API
-
Determine the active state of an OAuth 2.0 token and to determine meta-information about this token.
- tokenRevocation(String, String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2API
-
Revoke an obtained access or refresh token.
- TOO_EARLY - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- TOO_MANY_REQUESTS - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- toString() - Method in enum class one.jpro.platform.auth.core.http.HttpStatus
- toString() - Method in record class one.jpro.platform.auth.core.http.impl.Header
-
Returns a string representation of this record class.
- toString() - Method in record class one.jpro.platform.auth.core.http.impl.Request
-
Returns a string representation of this record class.
- toString() - Method in class one.jpro.platform.auth.core.jwt.TokenCredentials
- toString() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- toString() - Method in enum class one.jpro.platform.auth.core.oauth2.OAuth2Flow
- TRACE - Enum constant in enum class one.jpro.platform.auth.core.http.HttpMethod
-
The HTTP method
TRACE.
U
- UNAUTHORIZED - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- UNAVAILABLE_FOR_LEGAL_REASONS - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- UNKNOWN - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- UNPROCESSABLE_CONTENT - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- UNSUPPORTED_MEDIA_TYPE - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- updateUser(String, Set<String>, Map<String, Object>) - Method in class one.jpro.platform.auth.core.basic.InMemoryUserManager
- updateUser(String, Set<String>, Map<String, Object>) - Method in interface one.jpro.platform.auth.core.basic.UserManager
-
Updates an existing user identified by the username.
- UPGRADE_REQUIRED - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- upgradeEncoding(String) - Method in class one.jpro.platform.auth.core.crypto.bcrypt.BCryptPasswordEncoder
- upgradeEncoding(String) - Method in interface one.jpro.platform.auth.core.crypto.PasswordEncoder
-
Returns true if the encoded password should be encoded again for better security, else false.
- uri() - Method in record class one.jpro.platform.auth.core.http.impl.Request
-
Returns the value of the
urirecord component. - URI_TOO_LONG - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- USE_PROXY - Enum constant in enum class one.jpro.platform.auth.core.http.HttpStatus
- User - Class in one.jpro.platform.auth.core.authentication
-
An implementation of the
Authenticationinterface to be used on the client side to create authentication objects from user data. - User(String) - Constructor for class one.jpro.platform.auth.core.authentication.User
-
Create a user holding a name.
- User(String, Map<String, Object>) - Constructor for class one.jpro.platform.auth.core.authentication.User
-
Create a user holding a name and attributes.
- User(String, Set<String>) - Constructor for class one.jpro.platform.auth.core.authentication.User
-
Create a user holding a name and roles.
- User(String, Set<String>, Map<String, Object>) - Constructor for class one.jpro.platform.auth.core.authentication.User
-
Create a user holding a name, roles and attributes.
- User(JSONObject) - Constructor for class one.jpro.platform.auth.core.authentication.User
-
Create a user from a JSON object.
- userExists(String) - Method in class one.jpro.platform.auth.core.basic.InMemoryUserManager
- userExists(String) - Method in interface one.jpro.platform.auth.core.basic.UserManager
-
Checks if a user exists with the specified username.
- userInfo(String) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2API
-
Retrieve user information and other attributes for a logged-in end-user.
- userInfo(User) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2AuthenticationProvider
-
Retrieve user information and other attributes for a logged-in end-user.
- userManager(UserManager) - Method in interface one.jpro.platform.auth.core.api.FluentBasicAuth
-
Set the user manager.
- userManager(UserManager) - Method in class one.jpro.platform.auth.core.api.FluentBasicAuthAPI
- UserManager - Interface in one.jpro.platform.auth.core.basic
-
Provide user management capabilities.
- UsernamePasswordCredentials - Class in one.jpro.platform.auth.core.basic
-
Username and password credentials holder.
- UsernamePasswordCredentials() - Constructor for class one.jpro.platform.auth.core.basic.UsernamePasswordCredentials
-
Default constructor.
- UsernamePasswordCredentials(String, String) - Constructor for class one.jpro.platform.auth.core.basic.UsernamePasswordCredentials
-
Constructor with username and password.
- usernameProperty() - Method in class one.jpro.platform.auth.core.basic.UsernamePasswordCredentials
- UserNotFoundException - Exception Class in one.jpro.platform.auth.core.basic
-
Represents an exception that is thrown when a
Usercannot be located. - UserNotFoundException(String) - Constructor for exception class one.jpro.platform.auth.core.basic.UserNotFoundException
-
Constructs a new UserNotFoundException with the specified detail message.
- UserNotFoundException(String, Throwable) - Constructor for exception class one.jpro.platform.auth.core.basic.UserNotFoundException
-
Constructs a new UserNotFoundException with the specified detail message and cause.
V
- validate() - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Options
-
Validates the OAuth2 configuration for completeness and consistency.
- validate(V) - Method in interface one.jpro.platform.auth.core.authentication.Credentials
-
Implementors should override this method to perform validation.
- validate(V) - Method in class one.jpro.platform.auth.core.basic.UsernamePasswordCredentials
- validate(V) - Method in class one.jpro.platform.auth.core.jwt.TokenCredentials
- validate(V) - Method in class one.jpro.platform.auth.core.oauth2.OAuth2Credentials
- value() - Method in record class one.jpro.platform.auth.core.http.impl.Header
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class one.jpro.platform.auth.core.crypto.bcrypt.BCrypt.Version
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class one.jpro.platform.auth.core.http.HttpMethod
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class one.jpro.platform.auth.core.http.HttpStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class one.jpro.platform.auth.core.oauth2.OAuth2Flow
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class one.jpro.platform.auth.core.crypto.bcrypt.BCrypt.Version
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class one.jpro.platform.auth.core.http.HttpMethod
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class one.jpro.platform.auth.core.http.HttpStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class one.jpro.platform.auth.core.oauth2.OAuth2Flow
-
Returns an array containing the constants of this enum class, in the order they are declared.
- version() - Method in record class one.jpro.platform.auth.core.http.impl.Request
-
Returns the value of the
versionrecord component.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form