public interface SignupPluginService
| Modifier and Type | Method and Description | 
|---|---|
void | 
addTemplateResolverBundle(org.osgi.framework.Bundle bundle)
IMPORTANT: If you register your own bundle as a resource for thymeleaf templates you must call
 reinitTemplateEngine afterwards. 
 | 
String | 
createAPIWorkspaceMembershipRequest()  | 
String | 
createSimpleUserAccount(String username,
                       String password,
                       String mailbox)
Creates a new user account with mailbox. 
 | 
String | 
getUsernameAvailability(String username)
Checks for a Topic with the exact "username" value. 
 | 
com.sun.jersey.api.view.Viewable | 
handleSignupRequest(String username,
                   String password,
                   String mailbox)
Handles a sign-up request in regards to whether an Email based confirmation process is configured (true|false)
 in the resp. 
 | 
com.sun.jersey.api.view.Viewable | 
handleSignupRequest(String username,
                   String password,
                   String mailbox,
                   boolean skipConfirmation)
Handles a sign-up request in regards to whether an Email based confirmation process is configured (true|false)
 in the resp. 
 | 
javax.ws.rs.core.Response | 
initiatePasswordReset(String email)
Sends out a valid password-reset token (if the email address is known to the system). 
 | 
boolean | 
isMailboxTaken(String value)  | 
boolean | 
isUsernameTaken(String value)  | 
boolean | 
isValidEmailAddress(String value)  | 
void | 
reinitTemplateEngine()  | 
void | 
removeTemplateResolverBundle(org.osgi.framework.Bundle bundle)  | 
void | 
sendSystemMailboxNotification(String subject,
                             String message)
Send notification email to system administrator mailbox configured in current \"Sign-up Configuration\" topic. 
 | 
void | 
sendUserMailboxNotification(String mailboxes,
                           String subject,
                           String message)
Send notification email to all mailboxes in String (many are seperated by a simple ";" and without spaces. 
 | 
String getUsernameAvailability(String username)
String createAPIWorkspaceMembershipRequest()
com.sun.jersey.api.view.Viewable handleSignupRequest(String username, String password, String mailbox)
Sign-up Configuration topic.
 To check whether a username is already taken you *must* use the getUsernameAvailability() call before issueing
 an account creation request via this method.username - String Unique username.password - String SHA256 encoded password with a prefix of "-SHA26-"mailbox - String containing a valid Email address related to the account creation request.com.sun.jersey.api.view.Viewable handleSignupRequest(String username, String password, String mailbox, boolean skipConfirmation)
Sign-up Configuration topic.
 To check whether a username is already taken you *must* use the getUsernameAvailability() call before issueing
 an account creation request via this method.username - String Unique username.password - String SHA256 encoded password with a prefix of "-SHA26-"mailbox - String containing a valid Email address related to the account creation request.skipConfirmation - Boolean if true skips email verification transaction and creates user immediately.javax.ws.rs.core.Response initiatePasswordReset(String email) throws URISyntaxException
email - URISyntaxExceptionString createSimpleUserAccount(String username, String password, String mailbox)
username - password - mailbox - boolean isValidEmailAddress(String value)
boolean isMailboxTaken(String value)
boolean isUsernameTaken(String value)
void sendSystemMailboxNotification(String subject, String message)
void sendUserMailboxNotification(String mailboxes, String subject, String message)
void addTemplateResolverBundle(org.osgi.framework.Bundle bundle)
void removeTemplateResolverBundle(org.osgi.framework.Bundle bundle)
void reinitTemplateEngine()
Copyright © 2018. All Rights Reserved.