Class SchemEditAuth
java.lang.Object
org.dlese.dpc.schemedit.security.auth.SchemEditAuth
- All Implemented Interfaces:
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
ConstructorsConstructorDescriptionSchemEditAuth(String username, String password) Constructor for the SchemEditAuth object -
Method Summary
Modifier and TypeMethodDescriptionbooleanPerform AuthenticationGets the subject attribute of the SchemEditAuth object
-
Constructor Details
-
SchemEditAuth
Constructor for the SchemEditAuth object- Parameters:
username- the usernamepassword- the password
-
-
Method Details
-
authenticate
public boolean authenticate()Perform Authentication- Specified by:
authenticatein interfaceAuth- Returns:
- true if authentication succeeds
-
getSubject
Gets the subject attribute of the SchemEditAuth object- Specified by:
getSubjectin interfaceAuth- Returns:
- The subject value
-