public class PAMSecurityRealm extends AbstractPasswordBasedSecurityRealm
SecurityRealm that uses Unix PAM authentication.| Modifier and Type | Class and Description |
|---|---|
static class |
PAMSecurityRealm.DescriptorImpl |
SecurityRealm.SecurityComponentsExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Field and Description |
|---|---|
String |
serviceName |
AUTHENTICATED_AUTHORITY, AUTHENTICATED_AUTHORITY2, LIST, NO_AUTHENTICATION| Constructor and Description |
|---|
PAMSecurityRealm(String serviceName) |
| Modifier and Type | Method and Description |
|---|---|
protected UserDetails |
authenticate(String username,
String password) |
IdStrategy |
getGroupIdStrategy() |
IdStrategy |
getUserIdStrategy() |
static PAMSecurityRealm.DescriptorImpl |
install() |
GroupDetails |
loadGroupByGroupname(String groupName) |
UserDetails |
loadUserByUsername(String username) |
authenticate2, createSecurityComponents, loadGroupByGroupname2, loadUserByUsername2all, allowsSignup, canLogOut, commenceSignup, commonFilters, createCliAuthenticator, createFilter, doCaptcha, doLogout, getAuthenticationGatewayUrl, getCaptchaSupport, getCaptchaSupportDescriptors, getDescriptor, getFrom, getLoginUrl, getPostLogOutUrl, getPostLogOutUrl2, getSecurityComponents, loadGroupByGroupname, setCaptchaSupport, validateCaptchapublic final String serviceName
@DataBoundConstructor public PAMSecurityRealm(String serviceName)
protected UserDetails authenticate(String username, String password) throws AuthenticationException
authenticate in class AbstractPasswordBasedSecurityRealmAuthenticationExceptionpublic UserDetails loadUserByUsername(String username) throws UsernameNotFoundException, DataAccessException
loadUserByUsername in class AbstractPasswordBasedSecurityRealmUsernameNotFoundExceptionDataAccessExceptionpublic GroupDetails loadGroupByGroupname(String groupName) throws UsernameNotFoundException, DataAccessException
loadGroupByGroupname in class AbstractPasswordBasedSecurityRealmUsernameNotFoundExceptionDataAccessExceptionpublic IdStrategy getUserIdStrategy()
getUserIdStrategy in class SecurityRealmpublic IdStrategy getGroupIdStrategy()
getGroupIdStrategy in class SecurityRealm@Extension public static PAMSecurityRealm.DescriptorImpl install()
Copyright © 2016–2022. All rights reserved.