public class WwpassSecurityRealm
extends hudson.security.SecurityRealm
Modifier and Type | Class and Description |
---|---|
static class |
WwpassSecurityRealm.DescriptorImpl |
static class |
WwpassSecurityRealm.SignupInfo |
Constructor and Description |
---|
WwpassSecurityRealm(String certFile,
String keyFile,
String name,
boolean allowsSignup) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowsSignup() |
hudson.model.User |
createAccount(WwpassIdentity id)
Creates a new user account by registering a password to the user.
|
hudson.security.SecurityRealm.SecurityComponents |
createSecurityComponents() |
org.kohsuke.stapler.HttpResponse |
doCommenceLogin(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
String from,
String ticket)
The login process starts from here.
|
hudson.model.User |
doCreateAccount(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Creates an user account.
|
void |
doCreateFirstAccount(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Creates a first admin user account.
|
String |
getCertFile() |
String |
getKeyFile() |
String |
getLoginUrl() |
String |
getName() |
hudson.security.GroupDetails |
loadGroupByGroupname(String groupname)
Retrieves information about a group by its name.
|
WwpassIdentity |
loadUserByUsername(String puid) |
all, canLogOut, commenceSignup, createCliAuthenticator, createFilter, doCaptcha, doLogout, findBean, getAuthenticationGatewayUrl, getCaptchaSupport, getCaptchaSupportDescriptors, getDescriptor, getGroupIdStrategy, getPostLogOutUrl, getSecurityComponents, getUserIdStrategy, loadGroupByGroupname, setCaptchaSupport, validateCaptcha
public hudson.security.SecurityRealm.SecurityComponents createSecurityComponents()
createSecurityComponents
in class hudson.security.SecurityRealm
public WwpassIdentity loadUserByUsername(String puid) throws org.acegisecurity.userdetails.UsernameNotFoundException, org.springframework.dao.DataAccessException
loadUserByUsername
in class hudson.security.SecurityRealm
org.acegisecurity.userdetails.UsernameNotFoundException
org.springframework.dao.DataAccessException
public hudson.security.GroupDetails loadGroupByGroupname(String groupname) throws org.acegisecurity.userdetails.UsernameNotFoundException, org.springframework.dao.DataAccessException
loadGroupByGroupname
in class hudson.security.SecurityRealm
UsernameNotFoundException
org.acegisecurity.userdetails.UsernameNotFoundException
org.springframework.dao.DataAccessException
public String getLoginUrl()
getLoginUrl
in class hudson.security.SecurityRealm
public String getName()
public String getKeyFile()
public String getCertFile()
public org.kohsuke.stapler.HttpResponse doCommenceLogin(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter String from, @QueryParameter String ticket) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
public hudson.model.User createAccount(WwpassIdentity id) throws IOException
IOException
public hudson.model.User doCreateAccount(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
public void doCreateFirstAccount(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
This can be run by anyone, but only to create the very first user account.
IOException
javax.servlet.ServletException
public boolean allowsSignup()
allowsSignup
in class hudson.security.SecurityRealm
Copyright © 2004-2015. All Rights Reserved.