public class SeraphLoginUriProvider extends Object implements LoginUriProvider
| Constructor and Description |
|---|
SeraphLoginUriProvider(ApplicationProperties applicationProperties) |
| Modifier and Type | Method and Description |
|---|---|
URI |
getLoginUri(URI returnUri)
Returns the
URI to redirect users for login. |
URI |
getLoginUri(URI returnUri,
EnumSet<PageCapability> pageCaps)
Returns the
URI to redirect users for login. |
URI |
getLoginUriForRole(URI returnUri,
UserRole role)
Returns the
URI to redirect users for login. |
URI |
getLoginUriForRole(URI returnUri,
UserRole role,
EnumSet<PageCapability> pageCaps)
Returns the
URI to redirect users for login. |
public SeraphLoginUriProvider(ApplicationProperties applicationProperties)
public URI getLoginUri(URI returnUri)
LoginUriProviderURI to redirect users for login. It must append the returnUri
so that once login is complete, the user will be redirected back to the original page.getLoginUri in interface LoginUriProviderreturnUri - URI of the page the application should redirect the user to after login is completeURI to redirect users for loginpublic URI getLoginUri(URI returnUri, EnumSet<PageCapability> pageCaps)
LoginUriProviderURI to redirect users for login. It must append the returnUri
so that once login is complete, the user will be redirected back to the original page.getLoginUri in interface LoginUriProviderreturnUri - URI of the page the application should redirect the user to after login is completepageCaps - PageCapability for product to supply in login page.URI to redirect users for loginpublic URI getLoginUriForRole(URI returnUri, UserRole role)
LoginUriProviderURI to redirect users for login. It must append the returnUri
so that once login is complete, the user will be redirected back to the original page.
Page is expected to redirect back to URI only if ugetLoginUriForRole in interface LoginUriProviderreturnUri - URI of the page the application should redirect the user to after login is completerole - UserRole of userURI to redirect users for loginpublic URI getLoginUriForRole(URI returnUri, UserRole role, EnumSet<PageCapability> pageCaps)
LoginUriProviderURI to redirect users for login. It must append the returnUri
so that once login is complete, the user will be redirected back to the original page.
Page is expected to redirect back to URI only if u
This page is supposed to match requested PageCapabilitygetLoginUriForRole in interface LoginUriProviderreturnUri - URI of the page the application should redirect the user to after login is completerole - UserRole of userpageCaps - PageCapability for product to supply in login page.URI to redirect users for loginCopyright © 2018 Atlassian. All rights reserved.