Class KnowledgeQuestionRegistration
- java.lang.Object
-
- LocalMechanism
-
- com.tivoli.am.fim.registrations.local.KnowledgeQuestionRegistration
-
public class KnowledgeQuestionRegistration extends LocalMechanism
A class representing a users Knowledge Question registration.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEnrolled()
Get the enrolled status of this mechanism.JSONObject
toJson()
Get a JSON formatted representation of this KnowledgeQuestionRegistration.
-
-
-
Method Detail
-
toJson
public JSONObject toJson()
Get a JSON formatted representation of this KnowledgeQuestionRegistration. Example:{ "mechanismURI" : "urn:ibm:security:authentication:asf:mechanism:knowledge_questions", "isEnrolled" : true }
- Returns:
- A JSONObject representation of this KnowledgeQuestionRegistration.
- See Also:
- IBM JSONObject
-
isEnrolled
public boolean isEnrolled()
Get the enrolled status of this mechanism.- Returns:
- A boolean to indicate if this mechanism is enrolled or not.
-
-