Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractPassword<A,
B> - Class in io.inverno.mod.security.authentication.password -
Base password implementation.
- AbstractPassword(String, B) - Constructor for class io.inverno.mod.security.authentication.password.AbstractPassword
-
Creates a password with the specified value and encoder.
- AbstractPrincipalAuthenticator<A,
B, - Class in io.inverno.mod.security.authenticationC> -
Base principal authenticator implementation used to authenticate
PrincipalCredentials. - AbstractPrincipalAuthenticator(CredentialsResolver<? extends B>, CredentialsMatcher<? super A, ? super B>) - Constructor for class io.inverno.mod.security.authentication.AbstractPrincipalAuthenticator
-
Creates a terminal principal authenticator with the specified credentials resolver and credentials matcher.
- AccessControlException - Exception Class in io.inverno.mod.security.accesscontrol
-
Thrown to indicate unexpected errors during access control processing.
- AccessControlException() - Constructor for exception class io.inverno.mod.security.accesscontrol.AccessControlException
-
Creates an access control exception.
- AccessControlException(String) - Constructor for exception class io.inverno.mod.security.accesscontrol.AccessControlException
-
Creates an access control exception with the specified message.
- AccessControlException(String, Throwable) - Constructor for exception class io.inverno.mod.security.accesscontrol.AccessControlException
-
Creates an access control exception with the specified message and cause.
- AccessControlException(String, Throwable, boolean, boolean) - Constructor for exception class io.inverno.mod.security.accesscontrol.AccessControlException
-
Creates an access control exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.
- AccessControlException(Throwable) - Constructor for exception class io.inverno.mod.security.accesscontrol.AccessControlException
-
Creates an access control exception with the specified cause.
- AccessController - Interface in io.inverno.mod.security.accesscontrol
-
An access controller is used to control the access to services and resources of an authenticated entity.
- AccessControllerResolver<A,
B> - Interface in io.inverno.mod.security.accesscontrol -
An access controller resolver is used to resolve an access controller from an
Authentication. - addUserToGroups(String, String...) - Method in class io.inverno.mod.security.authentication.user.InMemoryUserRepository
- addUserToGroups(String, String...) - Method in class io.inverno.mod.security.authentication.user.RedisUserRepository
- addUserToGroups(String, String...) - Method in interface io.inverno.mod.security.authentication.user.UserRepository
-
Adds the user identified by the specified username to the specified groups.
- anonymous() - Static method in interface io.inverno.mod.security.authentication.Authentication
-
Returns an anonymous authentication.
- ANONYMOUS - Static variable in class io.inverno.mod.security.internal.authentication.GenericAuthentication
-
The anonymous authentication (unauthenticated with no cause of authentication failure).
- Argon2Password - Class in io.inverno.mod.security.authentication.password
-
A password that uses Argon2 key derivation function to encode password.
- Argon2Password(String, Argon2Password.Encoder) - Constructor for class io.inverno.mod.security.authentication.password.Argon2Password
-
Creates an Argon2 password with the specified value and encoder.
- Argon2Password.Encoder - Class in io.inverno.mod.security.authentication.password
-
An Argon2 password encoder implementation.
- Argon2Password.Encoder.HashType - Enum in io.inverno.mod.security.authentication.password
-
The type of hash.
- authenticate(A) - Method in class io.inverno.mod.security.authentication.AbstractPrincipalAuthenticator
- authenticate(A) - Method in interface io.inverno.mod.security.authentication.Authenticator
-
Authenticates the specified credentials and returns an authentication.
- authenticate(A) - Method in interface io.inverno.mod.security.SecurityManager
-
Authenticates the specified credentials and returns the corresponding security context.
- Authentication - Interface in io.inverno.mod.security.authentication
-
An authentication represents a proof that the credentials of an entity have been authenticated.
- AuthenticationException - Exception Class in io.inverno.mod.security.authentication
-
Thrown to indicate that an authentication has failed.
- AuthenticationException() - Constructor for exception class io.inverno.mod.security.authentication.AuthenticationException
-
Creates an authentication exception.
- AuthenticationException(String) - Constructor for exception class io.inverno.mod.security.authentication.AuthenticationException
-
Creates an authentication exception with the specified message.
- AuthenticationException(String, Throwable) - Constructor for exception class io.inverno.mod.security.authentication.AuthenticationException
-
Creates an authentication exception with the specified message and cause.
- AuthenticationException(String, Throwable, boolean, boolean) - Constructor for exception class io.inverno.mod.security.authentication.AuthenticationException
-
Creates an authentication exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.
- AuthenticationException(Throwable) - Constructor for exception class io.inverno.mod.security.authentication.AuthenticationException
-
Creates an authentication exception with the specified cause.
- AuthenticationReleaser<A> - Interface in io.inverno.mod.security.authentication
-
An authentication releaser is used to invalidate or release any resources involved when terminating an authentication.
- Authenticator<A,
B> - Interface in io.inverno.mod.security.authentication -
An authenticator is used to authenticate the
Credentialsof an entity that wants to access protected services or resources.
B
- BCryptPassword - Class in io.inverno.mod.security.authentication.password
-
A password that uses Bcrypt hashing function to encode password.
- BCryptPassword(String, BCryptPassword.Encoder) - Constructor for class io.inverno.mod.security.authentication.password.BCryptPassword
-
Creates a Bcrypt password with the specified value and encoder.
- BCryptPassword.Encoder - Class in io.inverno.mod.security.authentication.password
-
A Bcrypt password encoder implementation.
- build() - Method in class io.inverno.mod.security.authentication.user.InMemoryUserRepository.Builder
-
Builds an in-memory user repository.
- build() - Method in class io.inverno.mod.security.authentication.user.User.Builder
-
Builds the user.
C
- changePassword(LoginCredentials, String) - Method in class io.inverno.mod.security.authentication.user.InMemoryUserRepository
- changePassword(LoginCredentials, String) - Method in class io.inverno.mod.security.authentication.user.RedisUserRepository
- changePassword(LoginCredentials, String) - Method in interface io.inverno.mod.security.authentication.user.UserRepository
-
Changes the password of the user identified by the specified credentials.
- ConfigurationSourcePermissionBasedAccessController - Class in io.inverno.mod.security.accesscontrol
-
Permission based access controller implementation using a
ConfigurationSourceto resolve permissions. - ConfigurationSourcePermissionBasedAccessController(ConfigurationSource<?, ?, ?>, String) - Constructor for class io.inverno.mod.security.accesscontrol.ConfigurationSourcePermissionBasedAccessController
-
Creates a permission based access controller backed by a configuration source for the specified username.
- ConfigurationSourcePermissionBasedAccessController(ConfigurationSource<?, ?, ?>, String, Set<String>) - Constructor for class io.inverno.mod.security.accesscontrol.ConfigurationSourcePermissionBasedAccessController
-
Creates a permission based access controller backed by a configuration source for the specified username and set of roles.
- ConfigurationSourcePermissionBasedAccessController(ConfigurationSource<?, ?, ?>, String, Set<String>, String) - Constructor for class io.inverno.mod.security.accesscontrol.ConfigurationSourcePermissionBasedAccessController
-
Creates a permission based access controller backed by a configuration source for the specified username and set of roles.
- ConfigurationSourcePermissionBasedAccessControllerResolver - Class in io.inverno.mod.security.accesscontrol
-
Resolves a configuration source permission based access controller from a
PrincipalAuthentication. - ConfigurationSourcePermissionBasedAccessControllerResolver(ConfigurationSource<?, ?, ?>) - Constructor for class io.inverno.mod.security.accesscontrol.ConfigurationSourcePermissionBasedAccessControllerResolver
-
Creates permission based access controller resolver with the specified configuration source.
- ConfigurationSourcePermissionBasedAccessControllerResolver(ConfigurationSource<?, ?, ?>, String) - Constructor for class io.inverno.mod.security.accesscontrol.ConfigurationSourcePermissionBasedAccessControllerResolver
-
Creates permission based access controller resolver with the specified configuration source.
- createAuthenticated(B) - Method in class io.inverno.mod.security.authentication.AbstractPrincipalAuthenticator
-
Creates an authenticated authentication resulting from a successful authentication using the resolved trusted credentials.
- createAuthenticated(B) - Method in class io.inverno.mod.security.authentication.PrincipalAuthenticator
- createAuthenticated(C) - Method in class io.inverno.mod.security.authentication.user.UserAuthenticator
- createDenied(A, AuthenticationException) - Method in class io.inverno.mod.security.authentication.AbstractPrincipalAuthenticator
-
Creates a denied authentication resulting from a failed authentication.
- createDenied(A, AuthenticationException) - Method in class io.inverno.mod.security.authentication.PrincipalAuthenticator
- createDenied(A, AuthenticationException) - Method in class io.inverno.mod.security.authentication.user.UserAuthenticator
- createUser(B) - Method in class io.inverno.mod.security.authentication.user.InMemoryUserRepository
- createUser(B) - Method in class io.inverno.mod.security.authentication.user.RedisUserRepository
- createUser(B) - Method in interface io.inverno.mod.security.authentication.user.UserRepository
-
Creates a user.
- Credentials - Interface in io.inverno.mod.security.authentication
-
Credentials represents the data required by an entity to get access to protected services or resources.
- credentialsMatcher - Variable in class io.inverno.mod.security.authentication.AbstractPrincipalAuthenticator
-
The credentials matcher.
- CredentialsMatcher<A,
B> - Interface in io.inverno.mod.security.authentication -
A credentials matcher can be used during an authentication to match two credentials, typically the one provided by the entity to authenticated and the one resolved from a trusted authority or repository.
- CredentialsNotFoundException - Exception Class in io.inverno.mod.security.authentication
-
Thrown to indicate that credentials could be resolved by a
CredentialsResolver. - CredentialsNotFoundException() - Constructor for exception class io.inverno.mod.security.authentication.CredentialsNotFoundException
-
Creates a credentials not found exception.
- CredentialsNotFoundException(String) - Constructor for exception class io.inverno.mod.security.authentication.CredentialsNotFoundException
-
Creates a credentials not found exception with the specified message.
- CredentialsNotFoundException(String, Throwable) - Constructor for exception class io.inverno.mod.security.authentication.CredentialsNotFoundException
-
Creates a credentials not found exception with the specified message and cause.
- CredentialsNotFoundException(String, Throwable, boolean, boolean) - Constructor for exception class io.inverno.mod.security.authentication.CredentialsNotFoundException
-
Creates a credentials not found exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.
- CredentialsNotFoundException(Throwable) - Constructor for exception class io.inverno.mod.security.authentication.CredentialsNotFoundException
-
Creates a credentials not found exception with the specified cause.
- credentialsResolver - Variable in class io.inverno.mod.security.authentication.AbstractPrincipalAuthenticator
-
The credentials resolver.
- CredentialsResolver<A> - Interface in io.inverno.mod.security.authentication
-
A credentials resolver is used to resolve credentials identified by a unique identifier from a trusted source.
D
- D - Enum constant in enum io.inverno.mod.security.authentication.password.Argon2Password.Encoder.HashType
-
Argon2d maximizes resistance to GPU cracking attacks.
- DEFAULT_ALGORITHM - Static variable in class io.inverno.mod.security.authentication.password.MessageDigestPassword.Encoder
-
The default algorithm:
SHA-512. - DEFAULT_BLOCK_SIZE_FACTOR - Static variable in class io.inverno.mod.security.authentication.password.SCryptPassword.Encoder
-
The default block size factor:
8. - DEFAULT_COST - Static variable in class io.inverno.mod.security.authentication.password.BCryptPassword.Encoder
-
The default cost:
10. - DEFAULT_COST_FACTOR - Static variable in class io.inverno.mod.security.authentication.password.SCryptPassword.Encoder
-
The default cost factor as power of two:
2^14. - DEFAULT_HASH_LENGTH - Static variable in class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
-
The default hash length in kikibytes:
32. - DEFAULT_HASH_LENGTH - Static variable in class io.inverno.mod.security.authentication.password.PBKDF2Password.Encoder
-
Default hash length in kikibytes:
32. - DEFAULT_HASH_LENGTH - Static variable in class io.inverno.mod.security.authentication.password.SCryptPassword.Encoder
-
The default hash length in kikibytes:
32. - DEFAULT_ITERATION_COUNT - Static variable in class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
-
The default iteration count:
3. - DEFAULT_ITERATION_COUNT - Static variable in class io.inverno.mod.security.authentication.password.PBKDF2Password.Encoder
-
Default iteration count:
1000. - DEFAULT_MAXIMUM_PASSWORD_LENGTH - Static variable in class io.inverno.mod.security.authentication.password.SimplePasswordPolicy
-
The default maximum password length.
- DEFAULT_MEMORY - Static variable in class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
-
The default memory cost in kibibytes:
12. - DEFAULT_MINIMUM_PASSWORD_LENGTH - Static variable in class io.inverno.mod.security.authentication.password.SimplePasswordPolicy
-
The default minimum password length.
- DEFAULT_PARALLELISM - Static variable in class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
-
The default parallelism:
1. - DEFAULT_PARALLELIZATION_FACTOR - Static variable in class io.inverno.mod.security.authentication.password.SCryptPassword.Encoder
-
The default parallelization factor:
1. - DEFAULT_PRF - Static variable in class io.inverno.mod.security.authentication.password.PBKDF2Password.Encoder
-
Default pseudorandom function.
- DEFAULT_ROLE_PREFIX - Static variable in class io.inverno.mod.security.accesscontrol.ConfigurationSourcePermissionBasedAccessController
-
The default prefix prepended to role when resolving role permissions.
- DEFAULT_SALT_LENGTH - Static variable in class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
-
The default salt length in kikibytes:
16. - DEFAULT_SALT_LENGTH - Static variable in class io.inverno.mod.security.authentication.password.MessageDigestPassword.Encoder
-
The default salt length in bytes:
16. - DEFAULT_SALT_LENGTH - Static variable in class io.inverno.mod.security.authentication.password.PBKDF2Password.Encoder
-
Default salt length in kikibytes:
16. - DEFAULT_SALT_LENGTH - Static variable in class io.inverno.mod.security.authentication.password.SCryptPassword.Encoder
-
The default salt length in kikibytes:
16. - DEFAULT_SECRET - Static variable in class io.inverno.mod.security.authentication.password.MessageDigestPassword.Encoder
-
The default secret:
new byte[0]. - DEFAULT_TYPE - Static variable in class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
-
The default hash type:
Argon2Password.Encoder.HashType.I. - deleteUser(String) - Method in class io.inverno.mod.security.authentication.user.InMemoryUserRepository
- deleteUser(String) - Method in class io.inverno.mod.security.authentication.user.RedisUserRepository
- deleteUser(String) - Method in interface io.inverno.mod.security.authentication.user.UserRepository
-
Deletes the he user identified by the specified username from the repository.
- denied() - Static method in interface io.inverno.mod.security.authentication.Authentication
-
Returns a generic denied authentication which indicates a failed authentication.
- denied(SecurityException) - Static method in interface io.inverno.mod.security.authentication.Authentication
-
Returns a generic denied authentication which indicates a failed authentication with the specified cause.
- DENIED - Static variable in class io.inverno.mod.security.internal.authentication.GenericAuthentication
-
The denied authentication.
E
- encode(String) - Method in class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
- encode(String) - Method in class io.inverno.mod.security.authentication.password.BCryptPassword.Encoder
- encode(String) - Method in class io.inverno.mod.security.authentication.password.MessageDigestPassword.Encoder
- encode(String) - Method in interface io.inverno.mod.security.authentication.password.Password.Encoder
-
Encodes the specified raw password.
- encode(String) - Method in class io.inverno.mod.security.authentication.password.PBKDF2Password.Encoder
- encode(String) - Method in class io.inverno.mod.security.authentication.password.RawPassword.Encoder
- encode(String) - Method in class io.inverno.mod.security.authentication.password.SCryptPassword.Encoder
- encoder - Variable in class io.inverno.mod.security.authentication.password.AbstractPassword
-
The password encoder.
- Encoder() - Constructor for class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
-
Creates a default Argon2 password encoder.
- Encoder() - Constructor for class io.inverno.mod.security.authentication.password.BCryptPassword.Encoder
-
Creates a default Bcrypt password encoder.
- Encoder() - Constructor for class io.inverno.mod.security.authentication.password.MessageDigestPassword.Encoder
-
Creates a default message digest password encoder.
- Encoder() - Constructor for class io.inverno.mod.security.authentication.password.PBKDF2Password.Encoder
-
Creates a default PBKDF2 password encoder.
- Encoder() - Constructor for class io.inverno.mod.security.authentication.password.RawPassword.Encoder
- Encoder() - Constructor for class io.inverno.mod.security.authentication.password.SCryptPassword.Encoder
-
Creates a default Scrypt password encoder.
- Encoder(int, int) - Constructor for class io.inverno.mod.security.authentication.password.BCryptPassword.Encoder
-
Creates a Bcrypt password encoder with the specified cost and salt length.
- Encoder(int, int, int, int, int) - Constructor for class io.inverno.mod.security.authentication.password.SCryptPassword.Encoder
-
Creates a default Scrypt password encoder with the specified salt length, cost factor, block size factor, parallelization factor and hash length.
- Encoder(int, int, int, int, int, SecureRandom) - Constructor for class io.inverno.mod.security.authentication.password.SCryptPassword.Encoder
-
Creates a default Scrypt password encoder with the specified salt length, cost factor, block size factor, parallelization factor, hash length and secure random.
- Encoder(int, int, SecureRandom) - Constructor for class io.inverno.mod.security.authentication.password.BCryptPassword.Encoder
-
Creates a Bcrypt password encoder with the specified cost, salt length and secure random.
- Encoder(Argon2Password.Encoder.HashType, int, int, int, int, int) - Constructor for class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
-
Creates an Argon2 password encoder with the specified hash type, salt length, hash length, degree of parallelism, amount of memory and iteration count.
- Encoder(Argon2Password.Encoder.HashType, int, int, int, int, int, byte[], byte[]) - Constructor for class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
-
Creates an Argon2 password encoder with the specified hash type, salt length, hash length, degree of parallelism, amount of memory, iteration count, secret data and additional data.
- Encoder(Argon2Password.Encoder.HashType, int, int, int, int, int, byte[], byte[], SecureRandom) - Constructor for class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
-
Creates an Argon2 password encoder with the specified hash type, salt length, hash length, degree of parallelism, amount of memory, iteration count, secret data, additional data and secure random.
- Encoder(String) - Constructor for class io.inverno.mod.security.authentication.password.MessageDigestPassword.Encoder
-
Creates a message digest password encoder using the specified algorithm.
- Encoder(String) - Constructor for class io.inverno.mod.security.authentication.password.PBKDF2Password.Encoder
-
Creates a PBKDF2 password encoder with the specified pseudorandom function.
- Encoder(String, byte[]) - Constructor for class io.inverno.mod.security.authentication.password.MessageDigestPassword.Encoder
-
Creates a message digest password encoder using the specified algorithm and secret.
- Encoder(String, byte[], int) - Constructor for class io.inverno.mod.security.authentication.password.MessageDigestPassword.Encoder
-
Creates a message digest password encoder using the specified algorithm, secret and salt length.
- Encoder(String, byte[], int, SecureRandom) - Constructor for class io.inverno.mod.security.authentication.password.MessageDigestPassword.Encoder
-
Creates a message digest password encoder using the specified algorithm, secret, salt length and secure random.
- Encoder(String, int, int, int) - Constructor for class io.inverno.mod.security.authentication.password.PBKDF2Password.Encoder
-
Creates a PBKDF2 password encoder with the specified pseudorandom function, iteration count, salt length and hash length.
- Encoder(String, int, int, int, SecureRandom) - Constructor for class io.inverno.mod.security.authentication.password.PBKDF2Password.Encoder
-
Creates a PBKDF2 password encoder with the specified pseudorandom function, iteration count, salt length, hash length and secure random.
- equals(Object) - Method in class io.inverno.mod.security.accesscontrol.PermissionBasedAccessController.Parameter
- equals(Object) - Method in class io.inverno.mod.security.authentication.password.AbstractPassword
- equals(Object) - Method in class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
- equals(Object) - Method in class io.inverno.mod.security.authentication.password.BCryptPassword.Encoder
- equals(Object) - Method in class io.inverno.mod.security.authentication.password.MessageDigestPassword.Encoder
- equals(Object) - Method in class io.inverno.mod.security.authentication.password.PBKDF2Password.Encoder
- equals(Object) - Method in class io.inverno.mod.security.authentication.password.RawPassword
- equals(Object) - Method in class io.inverno.mod.security.authentication.password.SCryptPassword.Encoder
- equals(Object) - Method in class io.inverno.mod.security.authentication.user.User
- equals(Object) - Method in class io.inverno.mod.security.internal.authentication.GenericAuthentication
- equals(Object) - Method in class io.inverno.mod.security.internal.authentication.GenericPrincipalAuthentication
- equals(Object) - Method in class io.inverno.mod.security.internal.authentication.user.GenericUserAuthentication
F
- failOnDenied() - Method in interface io.inverno.mod.security.authentication.Authenticator
-
Transforms the authenticator so it fails on denied authentications.
- failOnDeniedAndAnonymous() - Method in interface io.inverno.mod.security.authentication.Authenticator
-
Transforms the authenticator so it fails on denied and anonymous authentications.
- flatMap(Function<? super B, ? extends Mono<? extends T>>) - Method in interface io.inverno.mod.security.authentication.Authenticator
-
Invokes this authenticator and then transforms the resulting authentication publisher.
- flatMap(Function<? super B, ? extends Mono<? extends T>>) - Method in interface io.inverno.mod.security.identity.IdentityResolver
-
Invokes this identity resolver and then transforms the resulting identity publisher.
- fromId(int) - Static method in enum io.inverno.mod.security.authentication.password.Argon2Password.Encoder.HashType
-
Returns the hash type corresponding to the specified id.
- fromName(String) - Static method in enum io.inverno.mod.security.authentication.password.Argon2Password.Encoder.HashType
-
Returns the hash type corresponding to the specified name.
G
- GenericAuthentication - Class in io.inverno.mod.security.internal.authentication
-
Generic
Authenticationimplementation. - GenericAuthentication(boolean) - Constructor for class io.inverno.mod.security.internal.authentication.GenericAuthentication
-
Creates a generic authentication.
- GenericAuthentication(SecurityException) - Constructor for class io.inverno.mod.security.internal.authentication.GenericAuthentication
-
Creates an unauthenticated authentication with the specified cause of authentication failure.
- GenericLoginCredentials - Class in io.inverno.mod.security.internal.authentication
-
Generic
LoginCredentialsimplementation. - GenericLoginCredentials(String, Password<?, ?>) - Constructor for class io.inverno.mod.security.internal.authentication.GenericLoginCredentials
-
Creates generic credentials with the specified username and password.
- GenericPrincipalAuthentication - Class in io.inverno.mod.security.internal.authentication
-
Generic
PrincipalAuthenticationimplementation. - GenericPrincipalAuthentication(String, boolean) - Constructor for class io.inverno.mod.security.internal.authentication.GenericPrincipalAuthentication
-
Creates a generic principal authentication with the specified username.
- GenericUserAuthentication<A> - Class in io.inverno.mod.security.internal.authentication.user
-
Generic
UserAuthenticationimplementation. - GenericUserAuthentication(String, A, Set<String>, boolean) - Constructor for class io.inverno.mod.security.internal.authentication.user.GenericUserAuthentication
-
Creates a generic user authentication with the specified username, identity and set of groups.
- getAccessController() - Method in interface io.inverno.mod.security.context.SecurityContext
-
Returns the access controller that control access to protected services and resources for the authenticated entity.
- getAdditionalData() - Method in class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
-
Returns the optional additional data.
- getAlgorithm() - Method in class io.inverno.mod.security.authentication.password.MessageDigestPassword.Encoder
-
Returns the algorithm.
- getAuthentication() - Method in interface io.inverno.mod.security.context.SecurityContext
-
Returns the authentication.
- getBlockSizeFactor() - Method in class io.inverno.mod.security.authentication.password.SCryptPassword.Encoder
-
Returns the block size factor.
- getCause() - Method in interface io.inverno.mod.security.authentication.Authentication
-
Returns the cause of a failed authentication.
- getCause() - Method in class io.inverno.mod.security.internal.authentication.GenericAuthentication
- getCause() - Method in class io.inverno.mod.security.internal.authentication.GenericPrincipalAuthentication
- getCause() - Method in class io.inverno.mod.security.internal.authentication.user.GenericUserAuthentication
- getCost() - Method in class io.inverno.mod.security.authentication.password.BCryptPassword.Encoder
-
Returns the cost.
- getCostFactor() - Method in class io.inverno.mod.security.authentication.password.SCryptPassword.Encoder
-
Returns the cost factor.
- getEmail() - Method in class io.inverno.mod.security.identity.PersonIdentity
-
Returns the person's email address.
- getEncoder() - Method in class io.inverno.mod.security.authentication.password.AbstractPassword
- getEncoder() - Method in interface io.inverno.mod.security.authentication.password.Password
-
Returns the password encoder.
- getFirstName() - Method in class io.inverno.mod.security.identity.PersonIdentity
-
Returns the person's first name.
- getGroups() - Method in interface io.inverno.mod.security.authentication.GroupAwareAuthentication
-
Returns the groups to which the authenticated entity belongs to.
- getGroups() - Method in class io.inverno.mod.security.authentication.user.User
-
Returns the user groups.
- getGroups() - Method in class io.inverno.mod.security.internal.authentication.user.GenericUserAuthentication
- getHashLength() - Method in class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
-
Returns the hash length in kikibytes.
- getHashLength() - Method in class io.inverno.mod.security.authentication.password.PBKDF2Password.Encoder
-
Returns the hash length in kikibytes.
- getHashLength() - Method in class io.inverno.mod.security.authentication.password.SCryptPassword.Encoder
-
Returns the hash length in kikibytes.
- getId() - Method in enum io.inverno.mod.security.authentication.password.Argon2Password.Encoder.HashType
-
Returns the hash type id.
- getIdentity() - Method in class io.inverno.mod.security.authentication.user.User
-
Returns the identity of the user.
- getIdentity() - Method in interface io.inverno.mod.security.authentication.user.UserAuthentication
-
Returns the user's identity.
- getIdentity() - Method in interface io.inverno.mod.security.context.SecurityContext
-
Returns the identity of the authenticated entity.
- getIdentity() - Method in class io.inverno.mod.security.internal.authentication.user.GenericUserAuthentication
- getIterationCount() - Method in class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
-
Returns the number of iterations to perform;
- getIterationCount() - Method in class io.inverno.mod.security.authentication.password.PBKDF2Password.Encoder
-
Returns the iteration count.
- getKey() - Method in class io.inverno.mod.security.accesscontrol.PermissionBasedAccessController.Parameter
-
Returns the parameter name.
- getKeyPrefix() - Method in class io.inverno.mod.security.authentication.user.RedisUserRepository
-
Returns the prefix used to format user and group entry keys.
- getLastName() - Method in class io.inverno.mod.security.identity.PersonIdentity
-
Returns the person's last name.
- getMaximumPasswordLength() - Method in class io.inverno.mod.security.authentication.password.SimplePasswordPolicy
-
Returns the maximum password length.
- getMemory() - Method in class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
-
Returns the amount of memory to use in kibibytes.
- getMinimumPasswordLength() - Method in class io.inverno.mod.security.authentication.password.SimplePasswordPolicy
-
Returns the minimum password length.
- getName() - Method in enum io.inverno.mod.security.authentication.password.Argon2Password.Encoder.HashType
-
Returns the hash type name.
- getParallelism() - Method in class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
-
Returns the degree of parallelism (i.e. number of threads).
- getParallelizationFactor() - Method in class io.inverno.mod.security.authentication.password.SCryptPassword.Encoder
-
Returns the parallelization factor.
- getPassword() - Method in interface io.inverno.mod.security.authentication.LoginCredentials
-
Returns the password.
- getPassword() - Method in class io.inverno.mod.security.authentication.user.User
-
Returns the user password.
- getPassword() - Method in class io.inverno.mod.security.internal.authentication.GenericLoginCredentials
- getPasswordEncoder() - Method in class io.inverno.mod.security.authentication.user.InMemoryUserRepository
-
Returns the password encoder used to encode passwords.
- getPasswordEncoder() - Method in class io.inverno.mod.security.authentication.user.RedisUserRepository
-
Returns the password encoder used to encode passwords.
- getPasswordPolicy() - Method in class io.inverno.mod.security.authentication.user.InMemoryUserRepository
-
Returns the password policy used to verify passwords.
- getPasswordPolicy() - Method in class io.inverno.mod.security.authentication.user.RedisUserRepository
-
Returns the password policy used to verify passwords.
- getPasswordStrength() - Method in exception class io.inverno.mod.security.authentication.password.PasswordPolicyException
-
Returns the strength of the non-compliant password.
- getPseudoRandomFunction() - Method in class io.inverno.mod.security.authentication.password.PBKDF2Password.Encoder
-
Returns the pseudorandom function.
- getQualifier() - Method in interface io.inverno.mod.security.authentication.password.PasswordPolicy.PasswordStrength
-
Returns the password protection qualifier.
- getQualifier() - Method in class io.inverno.mod.security.authentication.password.SimplePasswordPolicy.SimplePasswordStrength
- getRolePrefix() - Method in class io.inverno.mod.security.accesscontrol.ConfigurationSourcePermissionBasedAccessController
-
Returns the prefix prepended to the role when resolving role permissions.
- getSaltLength() - Method in class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
-
Returns the salt length in kikibytes.
- getSaltLength() - Method in class io.inverno.mod.security.authentication.password.BCryptPassword.Encoder
-
Returns the salt length in kikibytes.
- getSaltLength() - Method in class io.inverno.mod.security.authentication.password.MessageDigestPassword.Encoder
-
Returns the salt length in kikibytes.
- getSaltLength() - Method in class io.inverno.mod.security.authentication.password.PBKDF2Password.Encoder
-
Returns the salt length in kikibytes.
- getSaltLength() - Method in class io.inverno.mod.security.authentication.password.SCryptPassword.Encoder
-
Returns the salt length in kikibytes.
- getScore() - Method in interface io.inverno.mod.security.authentication.password.PasswordPolicy.PasswordStrength
-
returns the password protection score.
- getScore() - Method in class io.inverno.mod.security.authentication.password.SimplePasswordPolicy.SimplePasswordStrength
- getSecret() - Method in class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
-
Returns the optional secret key.
- getSecret() - Method in class io.inverno.mod.security.authentication.password.MessageDigestPassword.Encoder
-
Returns the secret.
- getSecureRandom() - Method in class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
-
Returns the secure random.
- getSecureRandom() - Method in class io.inverno.mod.security.authentication.password.BCryptPassword.Encoder
-
Returns the secure random.
- getSecureRandom() - Method in class io.inverno.mod.security.authentication.password.MessageDigestPassword.Encoder
-
Returns the secure random.
- getSecureRandom() - Method in class io.inverno.mod.security.authentication.password.PBKDF2Password.Encoder
-
Returns the secure random.
- getSecureRandom() - Method in class io.inverno.mod.security.authentication.password.SCryptPassword.Encoder
-
Returns the secure random.
- getToken() - Method in interface io.inverno.mod.security.authentication.TokenAuthentication
-
Returns the token resulting from the authentication process.
- getToken() - Method in class io.inverno.mod.security.authentication.TokenCredentials
-
Returns the token value.
- getType() - Method in class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
-
Returns the hash type.
- getUid() - Method in interface io.inverno.mod.security.identity.Identity
-
Returns the unique identifier that identifies the authenticated entity.
- getUid() - Method in class io.inverno.mod.security.identity.PersonIdentity
-
Returns the unique identifier that identifies the person.
- getUser(String) - Method in class io.inverno.mod.security.authentication.user.InMemoryUserRepository
- getUser(String) - Method in class io.inverno.mod.security.authentication.user.RedisUserRepository
- getUser(String) - Method in interface io.inverno.mod.security.authentication.user.UserRepository
-
Returns the user identified by the specified username.
- getUsername() - Method in interface io.inverno.mod.security.authentication.PrincipalAuthentication
-
Returns the unique username of the authenticated entity.
- getUsername() - Method in interface io.inverno.mod.security.authentication.PrincipalCredentials
-
Returns the unique username associated to the entity.
- getUsername() - Method in class io.inverno.mod.security.authentication.user.User
-
Returns the username which uniquely identifies the user.
- getUsername() - Method in class io.inverno.mod.security.internal.authentication.GenericLoginCredentials
- getUsername() - Method in class io.inverno.mod.security.internal.authentication.GenericPrincipalAuthentication
- getUsername() - Method in class io.inverno.mod.security.internal.authentication.user.GenericUserAuthentication
- getValue() - Method in class io.inverno.mod.security.accesscontrol.PermissionBasedAccessController.Parameter
-
Returns the parameter value.
- getValue() - Method in class io.inverno.mod.security.authentication.password.AbstractPassword
- getValue() - Method in interface io.inverno.mod.security.authentication.password.Password
-
Returns the representation of the password encoded with the password encoder.
- getValue() - Method in class io.inverno.mod.security.authentication.password.RawPassword
- granted() - Static method in interface io.inverno.mod.security.authentication.Authentication
-
Returns a generic granted authentication.
- GRANTED - Static variable in class io.inverno.mod.security.internal.authentication.GenericAuthentication
-
The granted authentication.
- GroupAwareAuthentication - Interface in io.inverno.mod.security.authentication
-
A specific authentication which exposes all groups to which the authenticated entity belongs.
- groups(String...) - Method in class io.inverno.mod.security.authentication.user.User.Builder
-
Specifies the user groups.
- groups(Collection<String>) - Method in class io.inverno.mod.security.authentication.user.User.Builder
-
Specifies the user groups.
- GroupsRoleBasedAccessControllerResolver - Class in io.inverno.mod.security.accesscontrol
-
Resolves a role based access controller from a
GroupAwareAuthentication. - GroupsRoleBasedAccessControllerResolver() - Constructor for class io.inverno.mod.security.accesscontrol.GroupsRoleBasedAccessControllerResolver
H
- hasAllPermissions(Set<String>, PermissionBasedAccessController.Parameter...) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has all the specified permissions in the context defined by the specified parameters.
- hasAllPermissions(Set<String>, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has all the specified permissions in the context defined by the specified parameter.
- hasAllPermissions(Set<String>, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has all the specified permissions in the context defined by the specified parameters.
- hasAllPermissions(Set<String>, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has all the specified permissions in the context defined by the specified parameters.
- hasAllPermissions(Set<String>, String, String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has all the specified permissions in the context defined by the specified parameters.
- hasAllPermissions(Set<String>, String, String, String, String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has all the specified permissions in the context defined by the specified parameters.
- hasAllPermissions(Set<String>, String, String, String, String, String, String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has all the specified permissions in the context defined by the specified parameters.
- hasAllPermissions(Set<String>, String, String, String, String, String, String, String, String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has all the specified permissions in the context defined by the specified parameters.
- hasAllPermissions(Set<String>, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has all the specified permissions in the context defined by the specified parameters.
- hasAllPermissions(Set<String>, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has all the specified permissions in the context defined by the specified parameters.
- hasAllPermissions(Set<String>, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has all the specified permissions in the context defined by the specified parameters.
- hasAllPermissions(Set<String>, List<PermissionBasedAccessController.Parameter>) - Method in class io.inverno.mod.security.accesscontrol.ConfigurationSourcePermissionBasedAccessController
- hasAllPermissions(Set<String>, List<PermissionBasedAccessController.Parameter>) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has all the specified permissions in the context defined by the specified parameters.
- hasAllRoles(String...) - Method in interface io.inverno.mod.security.accesscontrol.RoleBasedAccessController
-
Determines whether the authenticated entity has all of the specified roles.
- hasAllRoles(Collection<String>) - Method in interface io.inverno.mod.security.accesscontrol.RoleBasedAccessController
-
Determines whether the authenticated entity has all of the specified roles.
- hasAnyPermission(Set<String>, PermissionBasedAccessController.Parameter...) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has any of the specified permissions in the context defined by the specified parameters.
- hasAnyPermission(Set<String>, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has any of the specified permissions in the context defined by the specified parameter.
- hasAnyPermission(Set<String>, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has any of the specified permissions in the context defined by the specified parameters.
- hasAnyPermission(Set<String>, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has any of the specified permissions in the context defined by the specified parameters.
- hasAnyPermission(Set<String>, String, String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has any of the specified permissions in the context defined by the specified parameters.
- hasAnyPermission(Set<String>, String, String, String, String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has any of the specified permissions in the context defined by the specified parameters.
- hasAnyPermission(Set<String>, String, String, String, String, String, String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has any of the specified permissions in the context defined by the specified parameters.
- hasAnyPermission(Set<String>, String, String, String, String, String, String, String, String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has any of the specified permissions in the context defined by the specified parameters.
- hasAnyPermission(Set<String>, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has any of the specified permissions in the context defined by the specified parameters.
- hasAnyPermission(Set<String>, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has any of the specified permissions in the context defined by the specified parameters.
- hasAnyPermission(Set<String>, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has any of the specified permissions in the context defined by the specified parameters.
- hasAnyPermission(Set<String>, List<PermissionBasedAccessController.Parameter>) - Method in class io.inverno.mod.security.accesscontrol.ConfigurationSourcePermissionBasedAccessController
- hasAnyPermission(Set<String>, List<PermissionBasedAccessController.Parameter>) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has any of the specified permissions in the context defined by the specified parameters.
- hasAnyRole(String...) - Method in interface io.inverno.mod.security.accesscontrol.RoleBasedAccessController
-
Determines whether the authenticated entity has any of the specified roles.
- hasAnyRole(Collection<String>) - Method in interface io.inverno.mod.security.accesscontrol.RoleBasedAccessController
-
Determines whether the authenticated entity has any of the specified roles.
- hashCode() - Method in class io.inverno.mod.security.accesscontrol.PermissionBasedAccessController.Parameter
- hashCode() - Method in class io.inverno.mod.security.authentication.password.AbstractPassword
- hashCode() - Method in class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
- hashCode() - Method in class io.inverno.mod.security.authentication.password.BCryptPassword.Encoder
- hashCode() - Method in class io.inverno.mod.security.authentication.password.MessageDigestPassword.Encoder
- hashCode() - Method in class io.inverno.mod.security.authentication.password.PBKDF2Password.Encoder
- hashCode() - Method in class io.inverno.mod.security.authentication.password.RawPassword
- hashCode() - Method in class io.inverno.mod.security.authentication.password.SCryptPassword.Encoder
- hashCode() - Method in class io.inverno.mod.security.authentication.user.User
- hashCode() - Method in class io.inverno.mod.security.internal.authentication.GenericAuthentication
- hashCode() - Method in class io.inverno.mod.security.internal.authentication.GenericPrincipalAuthentication
- hashCode() - Method in class io.inverno.mod.security.internal.authentication.user.GenericUserAuthentication
- hasPermission(String, PermissionBasedAccessController.Parameter...) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has the specified permissions in the context defined by the specified parameters.
- hasPermission(String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has the specified permissions in the context defined by the specified parameter.
- hasPermission(String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has the specified permissions in the context defined by the specified parameters.
- hasPermission(String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has the specified permissions in the context defined by the specified parameters.
- hasPermission(String, String, String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has the specified permissions in the context defined by the specified parameters.
- hasPermission(String, String, String, String, String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has the specified permissions in the context defined by the specified parameters.
- hasPermission(String, String, String, String, String, String, String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has the specified permissions in the context defined by the specified parameters.
- hasPermission(String, String, String, String, String, String, String, String, String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has the specified permissions in the context defined by the specified parameters.
- hasPermission(String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has the specified permissions in the context defined by the specified parameters.
- hasPermission(String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has the specified permissions in the context defined by the specified parameters.
- hasPermission(String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has the specified permissions in the context defined by the specified parameters.
- hasPermission(String, List<PermissionBasedAccessController.Parameter>) - Method in class io.inverno.mod.security.accesscontrol.ConfigurationSourcePermissionBasedAccessController
- hasPermission(String, List<PermissionBasedAccessController.Parameter>) - Method in interface io.inverno.mod.security.accesscontrol.PermissionBasedAccessController
-
Determines whether the authenticated entity has the specified permissions in the context defined by the specified parameters.
- hasRole(String) - Method in interface io.inverno.mod.security.accesscontrol.RoleBasedAccessController
-
Determines whether the authenticated entity has the specified role.
I
- I - Enum constant in enum io.inverno.mod.security.authentication.password.Argon2Password.Encoder.HashType
-
Argon2i is optimized to resist side-channel attacks.
- ID - Enum constant in enum io.inverno.mod.security.authentication.password.Argon2Password.Encoder.HashType
-
Argon2id is a hybrid version that follows the Argon2i approach for the first half pass over memory and the Argon2d approach for subsequent passes.
- identity(B) - Method in class io.inverno.mod.security.authentication.user.User.Builder
-
Specifies the identity of the user.
- Identity - Interface in io.inverno.mod.security.identity
-
An identity exposes the information that specifies the identity of an authenticated entity.
- IdentityException - Exception Class in io.inverno.mod.security.identity
-
Thrown to indicate errors during identity resolution.
- IdentityException() - Constructor for exception class io.inverno.mod.security.identity.IdentityException
-
Creates an identity exception.
- IdentityException(String) - Constructor for exception class io.inverno.mod.security.identity.IdentityException
-
Creates an identity exception with the specified message.
- IdentityException(String, Throwable) - Constructor for exception class io.inverno.mod.security.identity.IdentityException
-
Creates an identity exception with the specified message and cause.
- IdentityException(String, Throwable, boolean, boolean) - Constructor for exception class io.inverno.mod.security.identity.IdentityException
-
Creates an identity exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.
- IdentityException(Throwable) - Constructor for exception class io.inverno.mod.security.identity.IdentityException
-
Creates an identity exception with the specified cause.
- IdentityResolver<A,
B> - Interface in io.inverno.mod.security.identity -
An identity resolver is used to resolve the identity of an authenticated entity from an
Authentication. - InMemoryLoginCredentialsResolver - Class in io.inverno.mod.security.authentication
-
A simple login credentials resolver that stores credentials in memory.
- InMemoryLoginCredentialsResolver() - Constructor for class io.inverno.mod.security.authentication.InMemoryLoginCredentialsResolver
-
Creates an empty login credentials resolver.
- InMemoryLoginCredentialsResolver(List<LoginCredentials>) - Constructor for class io.inverno.mod.security.authentication.InMemoryLoginCredentialsResolver
-
Creates a login credentials resolver initialized with the specified list of credentials.
- InMemoryUserRepository<A,
B> - Class in io.inverno.mod.security.authentication.user -
A
UserRepositoryimplementation that stores users in memory. - InMemoryUserRepository() - Constructor for class io.inverno.mod.security.authentication.user.InMemoryUserRepository
-
Creates an in-memory user repository with default password encoder and policy.
- InMemoryUserRepository(Collection<B>) - Constructor for class io.inverno.mod.security.authentication.user.InMemoryUserRepository
-
Creates an in-memory user repository initialized with the specified list of users with default password encoder and policy.
- InMemoryUserRepository(Collection<B>, Password.Encoder<?, ?>, PasswordPolicy<B, ?>) - Constructor for class io.inverno.mod.security.authentication.user.InMemoryUserRepository
-
Creates an in-memory user repository initialized with the specified list of users using the specified password encoder and policy.
- InMemoryUserRepository.Builder<A,
B> - Class in io.inverno.mod.security.authentication.user -
A builder used to build in-memory user reposities.
- InvalidCredentialsException - Exception Class in io.inverno.mod.security.authentication
-
Thrown to indicate that an authentication has failed due to invalid credentials.
- InvalidCredentialsException() - Constructor for exception class io.inverno.mod.security.authentication.InvalidCredentialsException
-
Creates an invalid credentials exception.
- InvalidCredentialsException(String) - Constructor for exception class io.inverno.mod.security.authentication.InvalidCredentialsException
-
Creates an invalid credentials exception with the specified message.
- InvalidCredentialsException(String, Throwable) - Constructor for exception class io.inverno.mod.security.authentication.InvalidCredentialsException
-
Creates an invalid credentials exception with the specified message and cause.
- InvalidCredentialsException(String, Throwable, boolean, boolean) - Constructor for exception class io.inverno.mod.security.authentication.InvalidCredentialsException
-
Creates an invalid credentials exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.
- InvalidCredentialsException(Throwable) - Constructor for exception class io.inverno.mod.security.authentication.InvalidCredentialsException
-
Creates an invalid credentials exception with the specified cause.
- io.inverno.mod.security - module io.inverno.mod.security
-
The Inverno framework security module provides general support to secure access to protected service or resources in an application.
- io.inverno.mod.security - package io.inverno.mod.security
-
Common Inverno security components.
- io.inverno.mod.security.accesscontrol - package io.inverno.mod.security.accesscontrol
-
Inverno security access control API.
- io.inverno.mod.security.authentication - package io.inverno.mod.security.authentication
-
Inverno security authentication API.
- io.inverno.mod.security.authentication.password - package io.inverno.mod.security.authentication.password
-
Inverno security password API.
- io.inverno.mod.security.authentication.user - package io.inverno.mod.security.authentication.user
-
Inverno security user provisioning API.
- io.inverno.mod.security.context - package io.inverno.mod.security.context
-
Inverno security context API.
- io.inverno.mod.security.identity - package io.inverno.mod.security.identity
-
Inverno security identity API.
- io.inverno.mod.security.internal.authentication - package io.inverno.mod.security.internal.authentication
-
Inverno security authentication API implementation.
- io.inverno.mod.security.internal.authentication.user - package io.inverno.mod.security.internal.authentication.user
-
Inverno security user provisioning API implementation.
- isAnonymous() - Method in interface io.inverno.mod.security.authentication.Authentication
-
Determine whether the authentication is anonymous.
- isAnonymous() - Method in interface io.inverno.mod.security.context.SecurityContext
-
Determines whether this context is anonymous.
- isAuthenticated() - Method in interface io.inverno.mod.security.authentication.Authentication
-
Determine whether the authentication is authenticated.
- isAuthenticated() - Method in interface io.inverno.mod.security.context.SecurityContext
-
Determines whether an entity has been authenticated.
- isAuthenticated() - Method in class io.inverno.mod.security.internal.authentication.GenericAuthentication
- isAuthenticated() - Method in class io.inverno.mod.security.internal.authentication.GenericPrincipalAuthentication
- isAuthenticated() - Method in class io.inverno.mod.security.internal.authentication.user.GenericUserAuthentication
- isLocked() - Method in interface io.inverno.mod.security.authentication.Credentials
-
Determines whether a credentials is locked.
- isLocked() - Method in class io.inverno.mod.security.authentication.user.User
-
Determines whether the user is locked.
- isLocked() - Method in class io.inverno.mod.security.internal.authentication.GenericLoginCredentials
K
- key - Variable in class io.inverno.mod.security.accesscontrol.PermissionBasedAccessController.Parameter
-
The parameter key.
L
- listUsers() - Method in class io.inverno.mod.security.authentication.user.InMemoryUserRepository
- listUsers() - Method in class io.inverno.mod.security.authentication.user.RedisUserRepository
- listUsers() - Method in interface io.inverno.mod.security.authentication.user.UserRepository
-
Lists the users in the repository.
- locked(boolean) - Method in class io.inverno.mod.security.authentication.user.User.Builder
-
Specifies whether to create a locked user.
- lockUser(String) - Method in class io.inverno.mod.security.authentication.user.InMemoryUserRepository
- lockUser(String) - Method in class io.inverno.mod.security.authentication.user.RedisUserRepository
- lockUser(String) - Method in interface io.inverno.mod.security.authentication.user.UserRepository
-
Locks the user identified by the specified username.
- LoginCredentials - Interface in io.inverno.mod.security.authentication
-
Login credentials composed of a username and a password.
- LoginCredentialsMatcher<A,
B> - Class in io.inverno.mod.security.authentication -
A login credentials matcher is used to verify that two login credentials are matching.
- LoginCredentialsMatcher() - Constructor for class io.inverno.mod.security.authentication.LoginCredentialsMatcher
M
- map(Function<? super B, ? extends T>) - Method in interface io.inverno.mod.security.authentication.Authenticator
-
Invokes this authenticator and then transforms the resulting authentication.
- map(Function<? super B, ? extends T>) - Method in interface io.inverno.mod.security.identity.IdentityResolver
-
Invokes this identity resolver and then transforms the resulting identity.
- matches(A, B) - Method in interface io.inverno.mod.security.authentication.CredentialsMatcher
-
Determines whether the two specified credentials are matching.
- matches(A, B) - Method in class io.inverno.mod.security.authentication.LoginCredentialsMatcher
- matches(A, Password<?, ?>) - Method in interface io.inverno.mod.security.authentication.password.Password.Encoder
-
Matches the specified passwords.
- matches(Password<?, ?>) - Method in interface io.inverno.mod.security.authentication.password.Password
-
Determines whether the password matches the specified password.
- matches(String) - Method in interface io.inverno.mod.security.authentication.password.Password
-
Determines whether the password matches the specified raw password.
- matches(String, String) - Method in class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
- matches(String, String) - Method in class io.inverno.mod.security.authentication.password.BCryptPassword.Encoder
- matches(String, String) - Method in class io.inverno.mod.security.authentication.password.MessageDigestPassword.Encoder
- matches(String, String) - Method in interface io.inverno.mod.security.authentication.password.Password.Encoder
-
Matches the specified raw password with the specified encoded representation.
- matches(String, String) - Method in class io.inverno.mod.security.authentication.password.PBKDF2Password.Encoder
- matches(String, String) - Method in class io.inverno.mod.security.authentication.password.RawPassword.Encoder
- matches(String, String) - Method in class io.inverno.mod.security.authentication.password.SCryptPassword.Encoder
- MEDIUM - Enum constant in enum io.inverno.mod.security.authentication.password.PasswordPolicy.PasswordStrength.Qualifier
-
Password offers a medium protection against attack.
- MessageDigestPassword - Class in io.inverno.mod.security.authentication.password
-
A password that uses a
MessageDigestto encode password. - MessageDigestPassword(String, MessageDigestPassword.Encoder) - Constructor for class io.inverno.mod.security.authentication.password.MessageDigestPassword
-
Creates a message digest password with the specified value and encoder.
- MessageDigestPassword.Encoder - Class in io.inverno.mod.security.authentication.password
-
A
MessageDigestbased password encoder implementation.
O
- of() - Static method in class io.inverno.mod.security.authentication.user.InMemoryUserRepository
-
Returns an in-memory user repository builder.
- of(Authentication) - Static method in interface io.inverno.mod.security.context.SecurityContext
-
Creates a security context with the specified authentication.
- of(Authentication, A) - Static method in interface io.inverno.mod.security.context.SecurityContext
-
Creates a security context with the specified authentiation and identity.
- of(Authentication, A, B) - Static method in interface io.inverno.mod.security.context.SecurityContext
-
Creates a security context with the specified authentiation, identity and access controller.
- of(Authentication, B) - Static method in interface io.inverno.mod.security.context.SecurityContext
-
Creates a security context with the specified authentiation and access controller.
- of(Authentication, Optional<A>, Optional<B>) - Static method in interface io.inverno.mod.security.context.SecurityContext
-
Creates a security context with the specified authentiation, identity and access controller.
- of(Authenticator<? super A, ? extends B>) - Static method in interface io.inverno.mod.security.SecurityManager
-
Creates a security manager with the specified authenticator.
- of(Authenticator<? super A, ? extends B>, AccessControllerResolver<? super B, ? extends D>) - Static method in interface io.inverno.mod.security.SecurityManager
-
Creates a security manager with the specified authenticator and access controller resolver.
- of(Authenticator<? super A, ? extends B>, IdentityResolver<? super B, ? extends C>) - Static method in interface io.inverno.mod.security.SecurityManager
-
Creates a security manager with the specified authenticator and identity resolver.
- of(Authenticator<? super A, ? extends B>, IdentityResolver<? super B, ? extends C>, AccessControllerResolver<? super B, ? extends D>) - Static method in interface io.inverno.mod.security.SecurityManager
-
Creates a security manager with the specified authenticator, identity resolver and access controller resolver.
- of(PrincipalCredentials) - Static method in interface io.inverno.mod.security.authentication.PrincipalAuthentication
-
Returns a new principal authentication from the specified credentials.
- of(User<A>) - Static method in interface io.inverno.mod.security.authentication.user.UserAuthentication
-
Creates a user authentication from the specified user.
- of(String) - Static method in interface io.inverno.mod.security.authentication.PrincipalAuthentication
-
Returns a new authenticated principal authentication for the specified username.
- of(String) - Static method in class io.inverno.mod.security.authentication.user.User
-
Returns a user builder with the specified username.
- of(String...) - Static method in interface io.inverno.mod.security.accesscontrol.RoleBasedAccessController
-
Creates a new role based access controller with the specified roles.
- of(String, A, String...) - Static method in interface io.inverno.mod.security.authentication.user.UserAuthentication
-
Creates a user authentication with the specified name, identity and groups.
- of(String, A, Collection<String>) - Static method in interface io.inverno.mod.security.authentication.user.UserAuthentication
-
Creates a user authentication with the specified name, identity and groups.
- of(String, Password<?, ?>) - Static method in interface io.inverno.mod.security.authentication.LoginCredentials
-
Creates a login credentials with the specified username and password.
- of(String, SecurityException) - Static method in interface io.inverno.mod.security.authentication.PrincipalAuthentication
-
Returns a new denied principal authentication for the specified username and cause.
- of(String, SecurityException) - Static method in interface io.inverno.mod.security.authentication.user.UserAuthentication
-
Returns a new denied user authentication for the specified username and cause.
- of(String, Object) - Static method in class io.inverno.mod.security.accesscontrol.PermissionBasedAccessController.Parameter
-
Creates a permission parameter with the specified key and value.
- of(String, String...) - Static method in interface io.inverno.mod.security.authentication.user.UserAuthentication
-
Creates a user authentication with the specified name and groups.
- of(String, Collection<String>) - Static method in interface io.inverno.mod.security.authentication.user.UserAuthentication
-
Creates a user authentication with the specified name and groups.
- of(Collection<B>) - Static method in class io.inverno.mod.security.authentication.user.InMemoryUserRepository
-
Returns an in-memory user repository builder initialized with the specified list of users.
- of(Collection<String>) - Static method in interface io.inverno.mod.security.accesscontrol.RoleBasedAccessController
-
Creates a new role based access controller with the specified roles.
- or(Authenticator<? super A, ? extends B>) - Method in interface io.inverno.mod.security.authentication.Authenticator
-
Returns a composed authenticator which first invokes this authenticator and, if the credentials could not be authenticated, invokes the specified authenticator.
P
- password(Password<?, ?>) - Method in class io.inverno.mod.security.authentication.user.User.Builder
-
Specifies the user password.
- Password<A,
B> - Interface in io.inverno.mod.security.authentication.password -
A password represents secret data that can be used to authenticate an entity.
- Password.Encoder<A,
B> - Interface in io.inverno.mod.security.authentication.password -
A password encoder used to encode a raw password into a secured password representation.
- passwordEncoder(Password.Encoder<?, ?>) - Method in class io.inverno.mod.security.authentication.user.InMemoryUserRepository.Builder
-
Specifies the password encoder.
- PasswordException - Exception Class in io.inverno.mod.security.authentication.password
-
Thrown to indicate that a password related operation failed.
- PasswordException() - Constructor for exception class io.inverno.mod.security.authentication.password.PasswordException
-
Creates a password exception.
- PasswordException(String) - Constructor for exception class io.inverno.mod.security.authentication.password.PasswordException
-
Creates a password exception with the specified message.
- PasswordException(String, Throwable) - Constructor for exception class io.inverno.mod.security.authentication.password.PasswordException
-
Creates a password exception with the specified message and cause.
- PasswordException(String, Throwable, boolean, boolean) - Constructor for exception class io.inverno.mod.security.authentication.password.PasswordException
-
Creates a password exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.
- PasswordException(Throwable) - Constructor for exception class io.inverno.mod.security.authentication.password.PasswordException
-
Creates a password exception with the specified cause.
- passwordPolicy(PasswordPolicy<B, ?>) - Method in class io.inverno.mod.security.authentication.user.InMemoryUserRepository.Builder
-
Specifies the password policy.
- PasswordPolicy<A,
B> - Interface in io.inverno.mod.security.authentication.password -
A password policy is used to evaluate the strength of a password in a login credentials against specific rules.
- PasswordPolicy.PasswordStrength - Interface in io.inverno.mod.security.authentication.password
-
A password strength provides both qualitative and quantitative marks to assess its level of protection against password cracking attacks.
- PasswordPolicy.PasswordStrength.Qualifier - Enum in io.inverno.mod.security.authentication.password
-
Represents a qualitative password protection mark.
- PasswordPolicyException - Exception Class in io.inverno.mod.security.authentication.password
-
Thrown to indicate that a password does not comply with a password policy.
- PasswordPolicyException(PasswordPolicy.PasswordStrength) - Constructor for exception class io.inverno.mod.security.authentication.password.PasswordPolicyException
-
Creates a password policy exception with the specified strength.
- PasswordPolicyException(PasswordPolicy.PasswordStrength, String) - Constructor for exception class io.inverno.mod.security.authentication.password.PasswordPolicyException
-
Creates a password exception with the specified password strength and message.
- PasswordPolicyException(PasswordPolicy.PasswordStrength, String, Throwable) - Constructor for exception class io.inverno.mod.security.authentication.password.PasswordPolicyException
-
Creates a password exception with the specified password strength, message and cause.
- PasswordPolicyException(PasswordPolicy.PasswordStrength, String, Throwable, boolean, boolean) - Constructor for exception class io.inverno.mod.security.authentication.password.PasswordPolicyException
-
Creates a password exception with the specified password strength, message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.
- PasswordPolicyException(PasswordPolicy.PasswordStrength, Throwable) - Constructor for exception class io.inverno.mod.security.authentication.password.PasswordPolicyException
-
Creates a password exception with the specified password strength and cause.
- PBKDF2Password - Class in io.inverno.mod.security.authentication.password
-
A password that uses Password-Based Key Derivation Function 2 to encode password.
- PBKDF2Password(String, PBKDF2Password.Encoder) - Constructor for class io.inverno.mod.security.authentication.password.PBKDF2Password
-
Creates a PBKDF2 password with the specified value and encoder.
- PBKDF2Password.Encoder - Class in io.inverno.mod.security.authentication.password
-
A PBKDF2 based password encoder implementation.
- PermissionBasedAccessController - Interface in io.inverno.mod.security.accesscontrol
-
An access controller that uses permissions to control the access to services or resources based on the permissions that were granted to an authenticated entity.
- PermissionBasedAccessController.Parameter - Class in io.inverno.mod.security.accesscontrol
-
A parameter is used to specify the context in which a permission is evaluated.
- PersonIdentity - Class in io.inverno.mod.security.identity
-
A basic identity implementation exposing basic personal information.
- PersonIdentity(String, String, String, String) - Constructor for class io.inverno.mod.security.identity.PersonIdentity
-
Creates a person identity.
- PRF_SHA256 - Static variable in class io.inverno.mod.security.authentication.password.PBKDF2Password.Encoder
-
SHA256 pseudorandom function.
- PRF_SHA384 - Static variable in class io.inverno.mod.security.authentication.password.PBKDF2Password.Encoder
-
SHA384 pseudorandom function.
- PRF_SHA512 - Static variable in class io.inverno.mod.security.authentication.password.PBKDF2Password.Encoder
-
SHA512 pseudorandom function.
- PrincipalAuthentication - Interface in io.inverno.mod.security.authentication
-
An authentication resulting from the authentication of a principal entity uniquely identified by a username.
- PrincipalAuthenticator<A,
B> - Class in io.inverno.mod.security.authentication -
An authenticator used to authenticate principal credentials.
- PrincipalAuthenticator(CredentialsResolver<? extends B>, CredentialsMatcher<? super A, ? super B>) - Constructor for class io.inverno.mod.security.authentication.PrincipalAuthenticator
-
Creates a terminal principal authenticator with the specified credentials resolver and credentials matcher.
- PrincipalCredentials - Interface in io.inverno.mod.security.authentication
-
Credentials used to authenticate a principal entity identified by a unique username.
- put(LoginCredentials) - Method in class io.inverno.mod.security.authentication.InMemoryLoginCredentialsResolver
-
Adds/Sets the specified login credentials.
- put(String, Password<?, ?>) - Method in class io.inverno.mod.security.authentication.InMemoryLoginCredentialsResolver
-
Adds/Sets the login credentials identified by the secified username.
R
- RAW_PASSWORD_ENCODER - Static variable in class io.inverno.mod.security.authentication.password.RawPassword
-
The raw (no-op) password encoder.
- RawPassword - Class in io.inverno.mod.security.authentication.password
-
Represents a raw unencoded password.
- RawPassword(String) - Constructor for class io.inverno.mod.security.authentication.password.RawPassword
-
Creates a raw password with the specified value.
- RawPassword(String, RawPassword.Encoder) - Constructor for class io.inverno.mod.security.authentication.password.RawPassword
-
Creates a raw password with the specified value and encoder.
- RawPassword.Encoder - Class in io.inverno.mod.security.authentication.password
-
A raw (no-op) password encoder implementation.
- recover(String) - Method in class io.inverno.mod.security.authentication.password.Argon2Password.Encoder
- recover(String) - Method in class io.inverno.mod.security.authentication.password.BCryptPassword.Encoder
- recover(String) - Method in class io.inverno.mod.security.authentication.password.MessageDigestPassword.Encoder
- recover(String) - Method in interface io.inverno.mod.security.authentication.password.Password.Encoder
-
Recovers a password from its encoded representation generated with this encoder.
- recover(String) - Method in class io.inverno.mod.security.authentication.password.PBKDF2Password.Encoder
- recover(String) - Method in class io.inverno.mod.security.authentication.password.RawPassword.Encoder
- recover(String) - Method in class io.inverno.mod.security.authentication.password.SCryptPassword.Encoder
- RedisUserRepository<A,
B> - Class in io.inverno.mod.security.authentication.user -
A
UserRepositoryimplementation that stores users in a Redis data store. - RedisUserRepository(RedisClient<String, String>, ObjectMapper) - Constructor for class io.inverno.mod.security.authentication.user.RedisUserRepository
-
Creates a Redis user repository with the specified Redis client and mapper.
- RedisUserRepository(RedisClient<String, String>, ObjectMapper, Password.Encoder<?, ?>) - Constructor for class io.inverno.mod.security.authentication.user.RedisUserRepository
-
Creates a Redis user repository with the specified Redis client mapper and password encoder.
- RedisUserRepository(RedisClient<String, String>, ObjectMapper, Password.Encoder<?, ?>, PasswordPolicy<B, ?>) - Constructor for class io.inverno.mod.security.authentication.user.RedisUserRepository
-
Creates a Redis user repository with the specified Redis client, mapper, password encoder and password policy.
- RedisUserRepository(RedisClient<String, String>, ObjectMapper, PasswordPolicy<B, ?>) - Constructor for class io.inverno.mod.security.authentication.user.RedisUserRepository
-
Creates a Redis user repository with the specified Redis client, mapper and password policy.
- release(A) - Method in interface io.inverno.mod.security.authentication.AuthenticationReleaser
-
Releases the specified authentication.
- remove(String) - Method in class io.inverno.mod.security.authentication.InMemoryLoginCredentialsResolver
-
Removes the login credentials identified by the specified username.
- removeUserFromGroups(String, String...) - Method in class io.inverno.mod.security.authentication.user.InMemoryUserRepository
- removeUserFromGroups(String, String...) - Method in class io.inverno.mod.security.authentication.user.RedisUserRepository
- removeUserFromGroups(String, String...) - Method in interface io.inverno.mod.security.authentication.user.UserRepository
-
Removes the user identified by the specified username from the specified groups.
- resolveAccessController(A) - Method in interface io.inverno.mod.security.accesscontrol.AccessControllerResolver
-
Resolves the access controller used to control access to services and resources for the specified authentication.
- resolveAccessController(GroupAwareAuthentication) - Method in class io.inverno.mod.security.accesscontrol.GroupsRoleBasedAccessControllerResolver
- resolveAccessController(PrincipalAuthentication) - Method in class io.inverno.mod.security.accesscontrol.ConfigurationSourcePermissionBasedAccessControllerResolver
- resolveCredentials(String) - Method in interface io.inverno.mod.security.authentication.CredentialsResolver
-
Returns trusted credentials for the specified identifier.
- resolveCredentials(String) - Method in class io.inverno.mod.security.authentication.InMemoryLoginCredentialsResolver
- resolveCredentials(String) - Method in class io.inverno.mod.security.authentication.user.InMemoryUserRepository
- resolveCredentials(String) - Method in class io.inverno.mod.security.authentication.user.RedisUserRepository
- resolveIdentity(A) - Method in interface io.inverno.mod.security.identity.IdentityResolver
-
Resolves the identity of the authenticated entity from the specified authentication.
- resolveIdentity(A) - Method in class io.inverno.mod.security.identity.UserIdentityResolver
- RoleBasedAccessController - Interface in io.inverno.mod.security.accesscontrol
-
An access controller that uses roles to control the access to services or resources based on the permissions that were granted to an authenticated entity.
S
- SALT_LENGTH - Static variable in class io.inverno.mod.security.authentication.password.BCryptPassword.Encoder
-
The default salt length in kikibytes:
16. - SCryptPassword - Class in io.inverno.mod.security.authentication.password
-
A password that uses Scrypt hashing function to encode password.
- SCryptPassword(String, SCryptPassword.Encoder) - Constructor for class io.inverno.mod.security.authentication.password.SCryptPassword
-
Creates a Scrypt password with the specified value and encoder.
- SCryptPassword.Encoder - Class in io.inverno.mod.security.authentication.password
-
A Scrypt password encoder implementation.
- SecurityContext<A,
B> - Interface in io.inverno.mod.security.context -
The securiy context represents the central security component in an application.
- SecurityException - Exception Class in io.inverno.mod.security
-
Base exception class used to report security errors.
- SecurityException() - Constructor for exception class io.inverno.mod.security.SecurityException
-
Creates a security exception.
- SecurityException(String) - Constructor for exception class io.inverno.mod.security.SecurityException
-
Creates a security exception with the specified message.
- SecurityException(String, Throwable) - Constructor for exception class io.inverno.mod.security.SecurityException
-
Creates a security exception with the specified message and cause.
- SecurityException(String, Throwable, boolean, boolean) - Constructor for exception class io.inverno.mod.security.SecurityException
-
Creates a security exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.
- SecurityException(Throwable) - Constructor for exception class io.inverno.mod.security.SecurityException
-
Creates a security exception with the specified cause.
- SecurityManager<A,
B, - Interface in io.inverno.mod.securityC> -
A security manager authenticate the credentials of an entity and obtain the
SecurityContextused to protect services and resources in the application. - setCause(SecurityException) - Method in class io.inverno.mod.security.internal.authentication.GenericPrincipalAuthentication
-
Sets the cause of the failed authentication.
- setCause(SecurityException) - Method in class io.inverno.mod.security.internal.authentication.user.GenericUserAuthentication
-
Sets the cause of the failed authentication.
- setEmail(String) - Method in class io.inverno.mod.security.identity.PersonIdentity
-
Sets the person's email address.
- setFirstName(String) - Method in class io.inverno.mod.security.identity.PersonIdentity
-
Sets the person's first name.
- setGroups(Set<String>) - Method in class io.inverno.mod.security.authentication.user.User
-
Sets the user groups.
- setIdentity(A) - Method in class io.inverno.mod.security.authentication.user.User
-
Sets the user identity.
- setKeyPrefix(String) - Method in class io.inverno.mod.security.authentication.user.RedisUserRepository
-
Sets the prefix used to format user and group entry keys.
- setLastName(String) - Method in class io.inverno.mod.security.identity.PersonIdentity
-
Sets the person's last name.
- setLocked(boolean) - Method in class io.inverno.mod.security.authentication.user.User
-
Locks/unlocks the user.
- setLocked(boolean) - Method in class io.inverno.mod.security.internal.authentication.GenericLoginCredentials
-
Locks/Unlocks the credentials.
- setPassword(Password<?, ?>) - Method in class io.inverno.mod.security.authentication.user.User
-
Sets the user password
- setTerminal(boolean) - Method in class io.inverno.mod.security.authentication.AbstractPrincipalAuthenticator
-
Sets whether the authenticator is terminal and should return denied authentication on failed authentication or no authentication to indicate it was not able to authenticate credentials.
- SimplePasswordPolicy<A> - Class in io.inverno.mod.security.authentication.password
-
A simple password policy that simply checks for password's length.
- SimplePasswordPolicy() - Constructor for class io.inverno.mod.security.authentication.password.SimplePasswordPolicy
-
Creates a default simple password policy.
- SimplePasswordPolicy(int, int) - Constructor for class io.inverno.mod.security.authentication.password.SimplePasswordPolicy
-
Creates a simple password policy with the specified password lengths.
- SimplePasswordPolicy.SimplePasswordStrength - Class in io.inverno.mod.security.authentication.password
-
A simple password strength implementation.
- SimplePasswordStrength(int) - Constructor for class io.inverno.mod.security.authentication.password.SimplePasswordPolicy.SimplePasswordStrength
-
Creates a simple password strength from the specified score which corresponds to the length of the password.
- STRONG - Enum constant in enum io.inverno.mod.security.authentication.password.PasswordPolicy.PasswordStrength.Qualifier
-
Password offers a strong protection against attack.
T
- TokenAuthentication - Interface in io.inverno.mod.security.authentication
-
An authentication which comprises a token that uniquely and securely identifies the authentication.
- TokenCredentials - Class in io.inverno.mod.security.authentication
-
Credentials used to authenticate an entity based on a verifiable token.
- TokenCredentials(String) - Constructor for class io.inverno.mod.security.authentication.TokenCredentials
-
Creates a token credentials with the specified value.
- toString() - Method in class io.inverno.mod.security.accesscontrol.PermissionBasedAccessController.Parameter
U
- unlockUser(String) - Method in class io.inverno.mod.security.authentication.user.InMemoryUserRepository
- unlockUser(String) - Method in class io.inverno.mod.security.authentication.user.RedisUserRepository
- unlockUser(String) - Method in interface io.inverno.mod.security.authentication.user.UserRepository
-
Unlocks the user identified by the specified username.
- updateUser(B) - Method in class io.inverno.mod.security.authentication.user.InMemoryUserRepository
- updateUser(B) - Method in class io.inverno.mod.security.authentication.user.RedisUserRepository
- updateUser(B) - Method in interface io.inverno.mod.security.authentication.user.UserRepository
-
Updates the specified user.
- user(B) - Method in class io.inverno.mod.security.authentication.user.InMemoryUserRepository.Builder
-
Adds a user to create when initializing the repository.
- User<A> - Class in io.inverno.mod.security.authentication.user
-
An application user that can be authenticated in an application using password credentials.
- User(String, A, Password<?, ?>, String...) - Constructor for class io.inverno.mod.security.authentication.user.User
-
Creates a new user with the specified username, identity, password and groups.
- User(String, A, Password<?, ?>, Set<String>, boolean) - Constructor for class io.inverno.mod.security.authentication.user.User
-
Creates a new user with the specified username, identity, password, groups and lock flag.
- User(String, Password<?, ?>, String...) - Constructor for class io.inverno.mod.security.authentication.user.User
-
Creates a new user with the specified username, password and groups.
- User.Builder<A> - Class in io.inverno.mod.security.authentication.user
-
A builder used to build users.
- UserAuthentication<A> - Interface in io.inverno.mod.security.authentication.user
-
An authentication resulting from the authentication of a user uniquely identified by a username in a
UserAuthenticator. - UserAuthenticator<A,
B, - Class in io.inverno.mod.security.authentication.userC> -
An authenticator used to authenticate users with
PrincipalCredentials. - UserAuthenticator(CredentialsResolver<? extends C>, CredentialsMatcher<? super A, ? super C>) - Constructor for class io.inverno.mod.security.authentication.user.UserAuthenticator
-
Creates a terminal user authenticator with the specified user credentials resolver and user credentials matcher.
- UserIdentityResolver<A,
B> - Class in io.inverno.mod.security.identity -
Resolves an identity from a
UserAuthentication. - UserIdentityResolver() - Constructor for class io.inverno.mod.security.identity.UserIdentityResolver
- username - Variable in class io.inverno.mod.security.authentication.user.User
-
The username which uniquely identifies the user.
- UserRepository<A,
B> - Interface in io.inverno.mod.security.authentication.user -
A repository used to store, access and manage users.
- UserRepositoryException - Exception Class in io.inverno.mod.security.authentication.user
-
Thrown to indicate an error while accessing a user repository.
- UserRepositoryException() - Constructor for exception class io.inverno.mod.security.authentication.user.UserRepositoryException
-
Creates a user repository exception.
- UserRepositoryException(String) - Constructor for exception class io.inverno.mod.security.authentication.user.UserRepositoryException
-
Creates a user repository exception with the specified message.
- UserRepositoryException(String, Throwable) - Constructor for exception class io.inverno.mod.security.authentication.user.UserRepositoryException
-
Creates a user repository exception with the specified message and cause.
- UserRepositoryException(String, Throwable, boolean, boolean) - Constructor for exception class io.inverno.mod.security.authentication.user.UserRepositoryException
-
Creates a user repository exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.
- UserRepositoryException(Throwable) - Constructor for exception class io.inverno.mod.security.authentication.user.UserRepositoryException
-
Creates a user repository exception with the specified cause.
- users(Collection<B>) - Method in class io.inverno.mod.security.authentication.user.InMemoryUserRepository.Builder
-
Adds users to create when initializing the repository.
V
- value - Variable in class io.inverno.mod.security.accesscontrol.PermissionBasedAccessController.Parameter
-
The parameter value.
- value - Variable in class io.inverno.mod.security.authentication.password.AbstractPassword
-
The encoded password value.
- valueOf(String) - Static method in enum io.inverno.mod.security.authentication.password.Argon2Password.Encoder.HashType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.inverno.mod.security.authentication.password.PasswordPolicy.PasswordStrength.Qualifier
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.inverno.mod.security.authentication.password.Argon2Password.Encoder.HashType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.inverno.mod.security.authentication.password.PasswordPolicy.PasswordStrength.Qualifier
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verify(A, String) - Method in interface io.inverno.mod.security.authentication.password.PasswordPolicy
-
Verifies that the specified raw password complies with the policy.
- verify(A, String) - Method in class io.inverno.mod.security.authentication.password.SimplePasswordPolicy
- VERY_STRONG - Enum constant in enum io.inverno.mod.security.authentication.password.PasswordPolicy.PasswordStrength.Qualifier
-
Password offers a very strong protection against attack.
- VERY_WEAK - Enum constant in enum io.inverno.mod.security.authentication.password.PasswordPolicy.PasswordStrength.Qualifier
-
Password offers a very weak protection against attack and should be rejected.
W
- WEAK - Enum constant in enum io.inverno.mod.security.authentication.password.PasswordPolicy.PasswordStrength.Qualifier
-
Password offers a weak protection against attack and should be rejected.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form