public class MySQLSecurityRealm
extends hudson.security.AbstractPasswordBasedSecurityRealm
| Modifier and Type | Class and Description |
|---|---|
static class |
MySQLSecurityRealm.DescriptorImpl |
| Constructor and Description |
|---|
MySQLSecurityRealm(String myServer,
String myUsername,
String myPassword,
String myPort,
String myDatabase,
String myDataTable,
String myUserField,
String myPassField,
String myCondition,
String encryption) |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.security.core.userdetails.UserDetails |
authenticate(String username,
String password)
Authenticates the specified user using the password against the stored
database configuration.
|
String |
getEncryption() |
String |
getMyCondition() |
String |
getMyDatabase() |
String |
getMyDataTable() |
String |
getMyPassField() |
String |
getMyPassword() |
String |
getMyPort() |
String |
getMyServer() |
String |
getMyUserField() |
String |
getMyUsername() |
static MySQLSecurityRealm.DescriptorImpl |
install() |
hudson.security.GroupDetails |
loadGroupByGroupname(String groupname) |
org.springframework.security.core.userdetails.UserDetails |
loadUserByUsername(String username) |
createCliAuthenticator, createSecurityComponents, doAuthenticateall, allowsSignup, canLogOut, commenceSignup, createFilter, doCaptcha, doLogout, findBean, getAuthenticationGatewayUrl, getCaptchaSupport, getCaptchaSupportDescriptors, getCommonFilters, getDescriptor, getLoginUrl, getPostLogOutUrl, getSecurityComponents, setCaptchaSupport, validateCaptcha@Extension public static MySQLSecurityRealm.DescriptorImpl install()
protected org.springframework.security.core.userdetails.UserDetails authenticate(String username, String password) throws org.springframework.security.core.AuthenticationException
authenticate in class hudson.security.AbstractPasswordBasedSecurityRealmusername - The username to lookuppassword - The password to use for authenticationorg.springframework.security.core.AuthenticationException - Thrown when the username/password do
not match stored values.public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String username) throws org.springframework.security.core.userdetails.UsernameNotFoundException, org.springframework.dao.DataAccessException
loadUserByUsername in interface org.springframework.security.core.userdetails.UserDetailsServiceloadUserByUsername in class hudson.security.AbstractPasswordBasedSecurityRealmusername - org.springframework.security.core.userdetails.UsernameNotFoundExceptionorg.springframework.dao.DataAccessExceptionpublic hudson.security.GroupDetails loadGroupByGroupname(String groupname) throws org.springframework.security.core.userdetails.UsernameNotFoundException, org.springframework.dao.DataAccessException
loadGroupByGroupname in class hudson.security.AbstractPasswordBasedSecurityRealmgroupname - org.springframework.security.core.userdetails.UsernameNotFoundExceptionorg.springframework.dao.DataAccessExceptionpublic String getMyServer()
public String getMyUsername()
public String getMyPassword()
public String getMyDatabase()
public String getMyDataTable()
public String getMyUserField()
public String getMyPassField()
public String getMyPort()
public String getMyCondition()
public String getEncryption()
Copyright © 2004-2014 Hudson. All Rights Reserved.