public interface CustomActivationProvider
| Modifier and Type | Method and Description |
|---|---|
void |
activationWasCommitted(Map<String,String> identityAttributes,
Map<String,Object> customAttributes,
String activationId,
String userId,
ActivationType activationType)
Method is called when activation commit succeeds.
|
Integer |
getMaxFailedAttemptCount(Map<String,String> identityAttributes,
Map<String,Object> customAttributes,
String userId,
ActivationType activationType)
Get maximum failed attempt count for activations.
|
Integer |
getValidityPeriodDuringActivation(Map<String,String> identityAttributes,
Map<String,Object> customAttributes,
String userId,
ActivationType activationType)
Get length of the period of activation record validity during activation in milliseconds.
|
String |
lookupUserIdForAttributes(Map<String,String> identityAttributes)
This method is responsible for looking user ID up based on a provided set of identity attributes.
|
Map<String,Object> |
processCustomActivationAttributes(Map<String,Object> customAttributes,
String activationId,
String userId,
ActivationType activationType)
Process custom attributes, in any way that is suitable for the purpose of your application.
|
boolean |
shouldAutoCommitActivation(Map<String,String> identityAttributes,
Map<String,Object> customAttributes,
String activationId,
String userId,
ActivationType activationType)
Variable that specifies if the activation should be automatically committed based on provided attributes.
|
String lookupUserIdForAttributes(Map<String,String> identityAttributes) throws PowerAuthActivationException
identityAttributes - Attributes that uniquely identify user with given ID.PowerAuthActivationException - In case of error in custom activation business logic that should terminate the rest of the activation.Map<String,Object> processCustomActivationAttributes(Map<String,Object> customAttributes, String activationId, String userId, ActivationType activationType) throws PowerAuthActivationException
customAttributes - Custom attributes (not related to identity) to be processed.activationId - Activation ID of created activation.userId - User ID of user who created the activation.activationType - Activation type.PowerAuthActivationException - In case of error in custom activation business logic that should terminate the rest of the activation.boolean shouldAutoCommitActivation(Map<String,String> identityAttributes, Map<String,Object> customAttributes, String activationId, String userId, ActivationType activationType) throws PowerAuthActivationException
identityAttributes - Identity related attributes.customAttributes - Custom attributes, not related to identity.activationId - Activation ID of created activation.userId - User ID of user who created the activation.activationType - Activation type.PowerAuthActivationException - In case of error in custom activation business logic that should terminate the rest of the activation.void activationWasCommitted(Map<String,String> identityAttributes, Map<String,Object> customAttributes, String activationId, String userId, ActivationType activationType) throws PowerAuthActivationException
identityAttributes - Identity related attributes.customAttributes - Custom attributes, not related to identity.activationId - Activation ID of created activation.userId - User ID of user who created the activation.activationType - Activation type.PowerAuthActivationException - In case of error in custom activation business logic that should terminate the rest of the activation.Integer getMaxFailedAttemptCount(Map<String,String> identityAttributes, Map<String,Object> customAttributes, String userId, ActivationType activationType) throws PowerAuthActivationException
identityAttributes - Identity related attributes.customAttributes - Custom attributes, not related to identity.userId - User ID of user who created the activation.activationType - Activation type.PowerAuthActivationException - In case of error in custom activation business logic that should terminate the rest of the activation.Integer getValidityPeriodDuringActivation(Map<String,String> identityAttributes, Map<String,Object> customAttributes, String userId, ActivationType activationType) throws PowerAuthActivationException
identityAttributes - Identity related attributes.customAttributes - Custom attributes, not related to identity.userId - User ID of user who created the activation.activationType - Activation type.PowerAuthActivationException - In case of error in custom activation business logic that should terminate the rest of the activation.Copyright © 2017–2019 Wultra s.r.o.. All rights reserved.