Class KnowledgeQuestionRegistration
java.lang.Object
com.tivoli.am.fim.registrations.Mechanism
com.tivoli.am.fim.registrations.local.LocalMechanism
com.tivoli.am.fim.registrations.local.KnowledgeQuestionRegistration
A class representing a users Knowledge Question registration.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the enrolled status of this mechanism.JSONObject
toJson()
Get a JSON formatted representation of this KnowledgeQuestionRegistration.Methods inherited from class com.tivoli.am.fim.registrations.Mechanism
getMechURI, toString
-
Method Details
-
toJson
public JSONObject toJson()Get a JSON formatted representation of this KnowledgeQuestionRegistration. Example:{ "mechanismURI" : "urn:ibm:security:authentication:asf:mechanism:knowledge_questions", "isEnrolled" : true }
- Overrides:
toJson
in classLocalMechanism
- Returns:
- A JSONObject representation of this KnowledgeQuestionRegistration.
- See Also:
-
isEnrolled
public boolean isEnrolled()Get the enrolled status of this mechanism.- Returns:
- A boolean to indicate if this mechanism is enrolled or not.
-