Class AuthenticationDetails


  • public class AuthenticationDetails
    extends Object
    An instance of this class can be added to the Subject upon successful credentials authentication. For example:
     subj.getPrivateCredentials().add(new AuthenticationDetails(authDetailsMap));
     
    The information stored in the map is login module dependent and can represent some details about how user authentication was performed. The authentication details object will be stored in the HTTP session along with the authenticated user and can be accessed via WebLoginModelImpl.AUTHENTICATION_DETAILS_ATTRIBUTE.
    Since:
    2024.07
    • Constructor Detail

      • AuthenticationDetails

        public AuthenticationDetails​(@NotNull
                                     Map<String,​String> authenticationDetails)
    • Method Detail

      • getAuthenticationDetails

        @NotNull
        public Map<String,​String> getAuthenticationDetails()