@SPI(status=Stable,
useRestriction=Public)
public interface CredentialDeliveryStrategy
CredentialDeliveryStrategy SPI provides an interface to implement
a custom strategy for delivering information that is required to reset a user
password to the user itself. To change the default
MailbasedCredentialDeliveryStrategy to a custom implementation
declared class in the file
/META-INF/org.eclipse.stardust.engine.core.spi.security
.CredentialDeliveryStrategy needs to be changed to the custom implementation| Modifier and Type | Method and Description |
|---|---|
void |
deliverNewPassword(org.eclipse.stardust.engine.core.runtime.beans.IUser user,
String password) |
void |
deliverPasswordResetToken(org.eclipse.stardust.engine.core.runtime.beans.IUser user,
String token) |
void deliverPasswordResetToken(org.eclipse.stardust.engine.core.runtime.beans.IUser user,
String token)
user - - the IUser instance for which the password reset token has been generated fortoken - - the generated reset tokenvoid deliverNewPassword(org.eclipse.stardust.engine.core.runtime.beans.IUser user,
String password)
user - - the IUser instance for which the password has been resetedpassword - - the newly generated password for the userCopyright © 2016 Eclipse Stardust. All Rights Reserved.