Interface AuthenticationComponent

    • Method Detail

      • setCurrentUser

        net.sf.acegisecurity.Authentication setCurrentUser​(String userName)
        Explicitly set the current user to be authenticated.
      • setGuestUserAsCurrentUser

        net.sf.acegisecurity.Authentication setGuestUserAsCurrentUser()
        Set the guest user as the current user.
      • guestUserAuthenticationAllowed

        boolean guestUserAuthenticationAllowed()
        True if Guest user authentication is allowed, false otherwise
      • getDefaultAdministratorUserNames

        Set<String> getDefaultAdministratorUserNames()
        Gets a set of user names who for this particular authentication system should be considered administrators by default. If the security framework is case sensitive these values should be case sensitive user names. If the security framework is not case sensitive these values should be the lower-case user names.
        Returns:
        a set of user names
      • getDefaultGuestUserNames

        Set<String> getDefaultGuestUserNames()
        Gets a set of user names who for this particular authentication system should be considered guests by default. If the security framework is case sensitive these values should be case sensitive user names. If the security framework is not case sensitive these values should be the lower-case user names.
        Returns:
        a set of user names