Uses of Interface
io.inverno.mod.security.identity.Identity
Packages that use Identity
Package
Description
Common Inverno security components.
Inverno security user provisioning API.
Inverno security context API.
Inverno security identity API.
Inverno security user provisioning API implementation.
-
Uses of Identity in io.inverno.mod.security
Classes in io.inverno.mod.security with type parameters of type IdentityModifier and TypeInterfaceDescriptioninterfaceSecurityManager<A extends Credentials,B extends Identity, C extends AccessController> A security manager authenticate the credentials of an entity and obtain theSecurityContextused to protect services and resources in the application.Methods in io.inverno.mod.security with type parameters of type IdentityModifier and TypeMethodDescriptionstatic <A extends Credentials,B extends Authentication, C extends Identity, D extends AccessController>
SecurityManager<A, C, D> SecurityManager.of(Authenticator<? super A, ? extends B> authenticator) Creates a security manager with the specified authenticator.static <A extends Credentials,B extends Authentication, C extends Identity, D extends AccessController>
SecurityManager<A, C, D> SecurityManager.of(Authenticator<? super A, ? extends B> authenticator, AccessControllerResolver<? super B, ? extends D> accessControllerResolver) Creates a security manager with the specified authenticator and access controller resolver.static <A extends Credentials,B extends Authentication, C extends Identity, D extends AccessController>
SecurityManager<A, C, D> SecurityManager.of(Authenticator<? super A, ? extends B> authenticator, IdentityResolver<? super B, ? extends C> identityResolver) Creates a security manager with the specified authenticator and identity resolver.static <A extends Credentials,B extends Authentication, C extends Identity, D extends AccessController>
SecurityManager<A, C, D> SecurityManager.of(Authenticator<? super A, ? extends B> authenticator, IdentityResolver<? super B, ? extends C> identityResolver, AccessControllerResolver<? super B, ? extends D> accessControllerResolver) Creates a security manager with the specified authenticator, identity resolver and access controller resolver. -
Uses of Identity in io.inverno.mod.security.authentication.user
Classes in io.inverno.mod.security.authentication.user with type parameters of type IdentityModifier and TypeClassDescriptionclassInMemoryUserRepository<A extends Identity,B extends User<A>> AUserRepositoryimplementation that stores users in memory.static classInMemoryUserRepository.Builder<A extends Identity,B extends User<A>> A builder used to build in-memory user reposities.classRedisUserRepository<A extends Identity,B extends User<A>> AUserRepositoryimplementation that stores users in a Redis data store.classAn application user that can be authenticated in an application using password credentials.static classUser.Builder<A extends Identity>A builder used to build users.interfaceUserAuthentication<A extends Identity>An authentication resulting from the authentication of a user uniquely identified by a username in aUserAuthenticator.classUserAuthenticator<A extends PrincipalCredentials,B extends Identity, C extends User<B>> An authenticator used to authenticate users withPrincipalCredentials.interfaceUserRepository<A extends Identity,B extends User<A>> A repository used to store, access and manage users.Methods in io.inverno.mod.security.authentication.user with type parameters of type IdentityModifier and TypeMethodDescription<B extends Identity>
User.Builder<B> User.Builder.identity(B identity) Specifies the identity of the user.static <A extends Identity,B extends User<A>>
InMemoryUserRepository.Builder<A, B> InMemoryUserRepository.of()Returns an in-memory user repository builder.static <A extends Identity,B extends User<A>>
InMemoryUserRepository.Builder<A, B> InMemoryUserRepository.of(Collection<B> users) Returns an in-memory user repository builder initialized with the specified list of users.static <A extends Identity>
User.Builder<A> Returns a user builder with the specified username.static <A extends Identity>
UserAuthentication<A> Creates a user authentication from the specified user.static <A extends Identity>
UserAuthentication<A> Creates a user authentication with the specified name, identity and groups.static <A extends Identity>
UserAuthentication<A> UserAuthentication.of(String username, A identity, Collection<String> groups) Creates a user authentication with the specified name, identity and groups.static <A extends Identity>
UserAuthentication<A> UserAuthentication.of(String username, SecurityException cause) Returns a new denied user authentication for the specified username and cause.static <A extends Identity>
UserAuthentication<A> Creates a user authentication with the specified name and groups.static <A extends Identity>
UserAuthentication<A> UserAuthentication.of(String username, Collection<String> groups) Creates a user authentication with the specified name and groups. -
Uses of Identity in io.inverno.mod.security.context
Classes in io.inverno.mod.security.context with type parameters of type IdentityModifier and TypeInterfaceDescriptioninterfaceSecurityContext<A extends Identity,B extends AccessController> The securiy context represents the central security component in an application.Methods in io.inverno.mod.security.context with type parameters of type IdentityModifier and TypeMethodDescriptionstatic <A extends Identity,B extends AccessController>
SecurityContext<A, B> SecurityContext.of(Authentication authentication) Creates a security context with the specified authentication.static <A extends Identity,B extends AccessController>
SecurityContext<A, B> SecurityContext.of(Authentication authentication, A identity) Creates a security context with the specified authentiation and identity.static <A extends Identity,B extends AccessController>
SecurityContext<A, B> SecurityContext.of(Authentication authentication, A identity, B accessController) Creates a security context with the specified authentiation, identity and access controller.static <A extends Identity,B extends AccessController>
SecurityContext<A, B> SecurityContext.of(Authentication authentication, B accessController) Creates a security context with the specified authentiation and access controller.static <A extends Identity,B extends AccessController>
SecurityContext<A, B> SecurityContext.of(Authentication authentication, Optional<A> identity, Optional<B> accessController) Creates a security context with the specified authentiation, identity and access controller. -
Uses of Identity in io.inverno.mod.security.identity
Classes in io.inverno.mod.security.identity with type parameters of type IdentityModifier and TypeInterfaceDescriptioninterfaceIdentityResolver<A extends Authentication,B extends Identity> An identity resolver is used to resolve the identity of an authenticated entity from anAuthentication.classUserIdentityResolver<A extends UserAuthentication<B>,B extends Identity> Resolves an identity from aUserAuthentication.Classes in io.inverno.mod.security.identity that implement IdentityModifier and TypeClassDescriptionclassA basic identity implementation exposing basic personal information.Methods in io.inverno.mod.security.identity with type parameters of type IdentityModifier and TypeMethodDescriptiondefault <T extends Identity>
IdentityResolver<A, T> IdentityResolver.flatMap(Function<? super B, ? extends reactor.core.publisher.Mono<? extends T>> mapper) Invokes this identity resolver and then transforms the resulting identity publisher.default <T extends Identity>
IdentityResolver<A, T> Invokes this identity resolver and then transforms the resulting identity. -
Uses of Identity in io.inverno.mod.security.internal.authentication.user
Classes in io.inverno.mod.security.internal.authentication.user with type parameters of type IdentityModifier and TypeClassDescriptionclassGenericUserAuthentication<A extends Identity>GenericUserAuthenticationimplementation.