Interface LocalPassword

  • All Known Implementing Classes:
    LocalPasswordImpl

    @Contract
    public interface LocalPassword
    Manage a local password, which is a cryptographically secure random number stored in a file with permissions that only allow the owner to read it. A new local password is generated each time the server starts. The asadmin client can use it to authenticate when executing local commands, such as stop-domain, without the user needing to supply a password.
    Author:
    Bill Shannon
    • Method Detail

      • isLocalPassword

        boolean isLocalPassword​(String password)
        Is the given password the local password?
        Parameters:
        password - the password to test
        Returns:
        true if it is a local password, false otherwise
      • getLocalPassword

        String getLocalPassword()
        Get the local password.
        Returns:
        the local password