public class PAMSecurityRealm
extends hudson.security.AbstractPasswordBasedSecurityRealm
SecurityRealm
that uses Unix PAM authentication.Modifier and Type | Class and Description |
---|---|
static class |
PAMSecurityRealm.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
String |
serviceName |
Constructor and Description |
---|
PAMSecurityRealm(String serviceName) |
Modifier and Type | Method and Description |
---|---|
protected org.acegisecurity.userdetails.UserDetails |
authenticate(String username,
String password) |
jenkins.model.IdStrategy |
getGroupIdStrategy() |
jenkins.model.IdStrategy |
getUserIdStrategy() |
static PAMSecurityRealm.DescriptorImpl |
install() |
hudson.security.GroupDetails |
loadGroupByGroupname(String groupname) |
org.acegisecurity.userdetails.UserDetails |
loadUserByUsername(String username) |
createCliAuthenticator, createSecurityComponents
all, allowsSignup, canLogOut, commenceSignup, createFilter, doCaptcha, doLogout, findBean, getAuthenticationGatewayUrl, getCaptchaSupport, getCaptchaSupportDescriptors, getDescriptor, getLoginUrl, getPostLogOutUrl, getSecurityComponents, loadGroupByGroupname, setCaptchaSupport, validateCaptcha
public final String serviceName
@DataBoundConstructor public PAMSecurityRealm(String serviceName)
protected org.acegisecurity.userdetails.UserDetails authenticate(String username, String password) throws org.acegisecurity.AuthenticationException
authenticate
in class hudson.security.AbstractPasswordBasedSecurityRealm
org.acegisecurity.AuthenticationException
public org.acegisecurity.userdetails.UserDetails loadUserByUsername(String username) throws org.acegisecurity.userdetails.UsernameNotFoundException, org.springframework.dao.DataAccessException
loadUserByUsername
in interface org.acegisecurity.userdetails.UserDetailsService
loadUserByUsername
in class hudson.security.AbstractPasswordBasedSecurityRealm
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.AbstractPasswordBasedSecurityRealm
org.acegisecurity.userdetails.UsernameNotFoundException
org.springframework.dao.DataAccessException
public jenkins.model.IdStrategy getUserIdStrategy()
getUserIdStrategy
in class hudson.security.SecurityRealm
public jenkins.model.IdStrategy getGroupIdStrategy()
getGroupIdStrategy
in class hudson.security.SecurityRealm
@Extension public static PAMSecurityRealm.DescriptorImpl install()
Copyright © 2015. All rights reserved.