Class SchemEditAuth

java.lang.Object
org.dlese.dpc.schemedit.security.auth.SchemEditAuth
All Implemented Interfaces:
Auth

public class SchemEditAuth extends Object implements Auth
Auth module for SchemEdit authentication
Author:
Jonathan Ostwald
  • Constructor Details

    • SchemEditAuth

      public SchemEditAuth(String username, String password)
      Constructor for the SchemEditAuth object
      Parameters:
      username - the username
      password - the password
  • Method Details

    • authenticate

      public boolean authenticate()
      Perform Authentication
      Specified by:
      authenticate in interface Auth
      Returns:
      true if authentication succeeds
    • getSubject

      public Subject getSubject()
      Gets the subject attribute of the SchemEditAuth object
      Specified by:
      getSubject in interface Auth
      Returns:
      The subject value