Class SecurityIdentityAssociation

  • All Implemented Interfaces:
    io.quarkus.security.identity.CurrentIdentityAssociation

    @RequestScoped
    public class SecurityIdentityAssociation
    extends Object
    implements io.quarkus.security.identity.CurrentIdentityAssociation
    • Field Detail

      • identityProviderManager

        @Inject
        io.quarkus.security.identity.IdentityProviderManager identityProviderManager
    • Constructor Detail

      • SecurityIdentityAssociation

        public SecurityIdentityAssociation()
    • Method Detail

      • principal

        @Produces
        @RequestScoped
        Principal principal()
      • setIdentity

        public void setIdentity​(io.quarkus.security.identity.SecurityIdentity identity)
        Specified by:
        setIdentity in interface io.quarkus.security.identity.CurrentIdentityAssociation
      • setIdentity

        public void setIdentity​(io.smallrye.mutiny.Uni<io.quarkus.security.identity.SecurityIdentity> identity)
        Specified by:
        setIdentity in interface io.quarkus.security.identity.CurrentIdentityAssociation
      • getDeferredIdentity

        public io.smallrye.mutiny.Uni<io.quarkus.security.identity.SecurityIdentity> getDeferredIdentity()
        Specified by:
        getDeferredIdentity in interface io.quarkus.security.identity.CurrentIdentityAssociation
      • getIdentity

        public io.quarkus.security.identity.SecurityIdentity getIdentity()
        Specified by:
        getIdentity in interface io.quarkus.security.identity.CurrentIdentityAssociation