org.deepamehta.plugins.signup.service
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 |
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.
|
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.boolean isValidEmailAddress(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 © 2016. All Rights Reserved.