Class UserDetailsSubjectParser
- java.lang.Object
-
- com.caplin.motif.common.userdetails.UserDetailsSubjectParser
-
- All Implemented Interfaces:
SubjectParser<UserDetailsSubjectInfo>
public class UserDetailsSubjectParser extends Object implements SubjectParser<UserDetailsSubjectInfo>
-
-
Constructor Summary
Constructors Constructor Description UserDetailsSubjectParser(String namespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserDetailsSubjectInfo
parse(String subject)
Returns the domain object that represents the subject request.
-
-
-
Field Detail
-
namespace
protected final String namespace
-
-
Constructor Detail
-
UserDetailsSubjectParser
public UserDetailsSubjectParser(String namespace)
-
-
Method Detail
-
parse
public UserDetailsSubjectInfo parse(String subject) throws SubjectParserException
Description copied from interface:SubjectParser
Returns the domain object that represents the subject request.- Specified by:
parse
in interfaceSubjectParser<UserDetailsSubjectInfo>
- Parameters:
subject
- The subject to parse.- Returns:
- The domain object.
- Throws:
SubjectParserException
- If the subject is not in the correct format
-
-