Class UserDetailsSubjectInfo
- java.lang.Object
-
- com.caplin.motif.common.userdetails.UserDetailsSubjectInfo
-
- All Implemented Interfaces:
SubjectInfo
public class UserDetailsSubjectInfo extends java.lang.Object implements SubjectInfo
-
-
Constructor Summary
Constructors Constructor Description UserDetailsSubjectInfo(java.lang.String subject, java.lang.String username)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getSubject()
Returns the original subject that was parsed to create this SubjectInfojava.lang.String
getUsername()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getUsername
public java.lang.String getUsername()
-
getSubject
public java.lang.String getSubject()
Description copied from interface:SubjectInfo
Returns the original subject that was parsed to create this SubjectInfo- Specified by:
getSubject
in interfaceSubjectInfo
- Returns:
- The original subject.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-