org.eclipse.stardust.engine.core.spi.security
Interface CredentialDeliveryStrategy


@SPI(status=Stable,
     useRestriction=Public)
public interface CredentialDeliveryStrategy

The 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

Author:
Thomas.Wolfram

Method Summary
 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)
           
 

Method Detail

deliverPasswordResetToken

void deliverPasswordResetToken(org.eclipse.stardust.engine.core.runtime.beans.IUser user,
                               String token)
Parameters:
user - - the IUser instance for which the password reset token has been generated for
token - - the generated reset token

deliverNewPassword

void deliverNewPassword(org.eclipse.stardust.engine.core.runtime.beans.IUser user,
                        String password)
Parameters:
user - - the IUser instance for which the password has been reseted
password - - the newly generated password for the user


Copyright © 2017 Eclipse Stardust. All Rights Reserved.