DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.security.auth
Class SchemEditAuth

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface org.dlese.dpc.schemedit.security.auth.Auth
SUBJECT_SESSION_KEY
 
Constructor Summary
SchemEditAuth(String username, String password)
          Constructor for the SchemEditAuth object
 
Method Summary
 boolean authenticate()
          Perform Authentication
 Subject getSubject()
          Gets the subject attribute of the SchemEditAuth object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemEditAuth

public SchemEditAuth(String username,
                     String password)
Constructor for the SchemEditAuth object

Parameters:
username - the username
password - the password
Method Detail

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

DLESE Tools
v1.6.0