Interface LoginService

    • Method Detail

      • getName

        java.lang.String getName()
        Deprecated.
        Returns:
        Get the name of the login service (aka Realm name)
      • login

        UserIdentity login​(java.lang.String username,
                           java.lang.Object credentials,
                           ServletRequest request)
        Deprecated.
        Login a user.
        Parameters:
        username - The user name
        credentials - The users credentials
        request - TODO
        Returns:
        A UserIdentity if the credentials matched, otherwise null
      • validate

        boolean validate​(UserIdentity user)
        Deprecated.
        Validate a user identity. Validate that a UserIdentity previously created by a call to login(String, Object, ServletRequest) is still valid.
        Parameters:
        user - The user to validate
        Returns:
        true if authentication has not been revoked for the user.
      • getIdentityService

        IdentityService getIdentityService()
        Deprecated.
        Get the IdentityService associated with this Login Service.
        Returns:
        the IdentityService associated with this Login Service.
      • setIdentityService

        void setIdentityService​(IdentityService service)
        Deprecated.
        Set the IdentityService associated with this Login Service.
        Parameters:
        service - the IdentityService associated with this Login Service.