public class AssemblaSecurityRealm
extends hudson.security.SecurityRealm
implements org.acegisecurity.userdetails.UserDetailsService
| Modifier and Type | Class and Description |
|---|---|
static class |
AssemblaSecurityRealm.ConverterImpl |
static class |
AssemblaSecurityRealm.DescriptorImpl |
| Constructor and Description |
|---|
AssemblaSecurityRealm(String apiUri,
String clientID,
String clientSecret,
String spaceId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsSignup() |
hudson.security.SecurityRealm.SecurityComponents |
createSecurityComponents() |
org.kohsuke.stapler.HttpResponse |
doCommenceLogin(org.kohsuke.stapler.StaplerRequest request,
String referer)
Redirect to Assembla oAuth request by authorization type = code.
|
org.kohsuke.stapler.HttpResponse |
doFinishLogin(org.kohsuke.stapler.StaplerRequest request)
This is where the user comes back to at the end of the oAuth redirect
ping-pong.
|
String |
getApiUri() |
String |
getClientID() |
hudson.util.Secret |
getClientSecret() |
String |
getLoginUrl() |
String |
getSpaceId() |
hudson.security.GroupDetails |
loadGroupByGroupname(String groupName) |
org.acegisecurity.userdetails.UserDetails |
loadUserByUsername(String username) |
all, canLogOut, commenceSignup, createCliAuthenticator, createFilter, doCaptcha, doLogout, findBean, getAuthenticationGatewayUrl, getCaptchaSupport, getCaptchaSupportDescriptors, getDescriptor, getGroupIdStrategy, getPostLogOutUrl, getSecurityComponents, getUserIdStrategy, loadGroupByGroupname, setCaptchaSupport, validateCaptchapublic String getApiUri()
public String getClientID()
public hudson.util.Secret getClientSecret()
public String getSpaceId()
public org.kohsuke.stapler.HttpResponse doCommenceLogin(org.kohsuke.stapler.StaplerRequest request,
@Header(value="Referer")
String referer)
throws IOException
request - requestreferer - referer headerIOException - exceptionpublic org.kohsuke.stapler.HttpResponse doFinishLogin(org.kohsuke.stapler.StaplerRequest request)
throws IOException
request - requestIOException - exceptionpublic boolean allowsSignup()
allowsSignup in class hudson.security.SecurityRealmpublic hudson.security.SecurityRealm.SecurityComponents createSecurityComponents()
createSecurityComponents in class hudson.security.SecurityRealmpublic String getLoginUrl()
getLoginUrl in class hudson.security.SecurityRealmpublic org.acegisecurity.userdetails.UserDetails loadUserByUsername(String username)
loadUserByUsername in interface org.acegisecurity.userdetails.UserDetailsServiceloadUserByUsername in class hudson.security.SecurityRealmpublic hudson.security.GroupDetails loadGroupByGroupname(String groupName)
loadGroupByGroupname in class hudson.security.SecurityRealmCopyright © 2016–2019. All rights reserved.