hudson.security
Class PAMSecurityRealm
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.security.SecurityRealm>
hudson.security.SecurityRealm
hudson.security.AbstractPasswordBasedSecurityRealm
hudson.security.PAMSecurityRealm
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.security.SecurityRealm>, org.acegisecurity.userdetails.UserDetailsService
public class PAMSecurityRealm
- extends hudson.security.AbstractPasswordBasedSecurityRealm
SecurityRealm
that uses Unix PAM authentication.
- Since:
- 1.282
- Author:
- Kohsuke Kawaguchi
Nested classes/interfaces inherited from class hudson.security.SecurityRealm |
hudson.security.SecurityRealm.SecurityComponents |
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Fields inherited from class hudson.security.SecurityRealm |
AUTHENTICATED_AUTHORITY, LIST, NO_AUTHENTICATION |
Methods inherited from class hudson.security.AbstractPasswordBasedSecurityRealm |
createCliAuthenticator, createSecurityComponents |
Methods inherited from class hudson.security.SecurityRealm |
all, allowsSignup, canLogOut, commenceSignup, createFilter, doCaptcha, doLogout, findBean, getAuthenticationGatewayUrl, getCaptchaSupport, getCaptchaSupportDescriptors, getDescriptor, getLoginUrl, getPostLogOutUrl, getSecurityComponents, setCaptchaSupport, validateCaptcha |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serviceName
public final String serviceName
PAMSecurityRealm
@DataBoundConstructor
public PAMSecurityRealm(String serviceName)
authenticate
protected org.acegisecurity.userdetails.UserDetails authenticate(String username,
String password)
throws org.acegisecurity.AuthenticationException
- Specified by:
authenticate
in class hudson.security.AbstractPasswordBasedSecurityRealm
- Throws:
org.acegisecurity.AuthenticationException
loadUserByUsername
public org.acegisecurity.userdetails.UserDetails loadUserByUsername(String username)
throws org.acegisecurity.userdetails.UsernameNotFoundException,
org.springframework.dao.DataAccessException
- Specified by:
loadUserByUsername
in interface org.acegisecurity.userdetails.UserDetailsService
- Specified by:
loadUserByUsername
in class hudson.security.AbstractPasswordBasedSecurityRealm
- Throws:
org.acegisecurity.userdetails.UsernameNotFoundException
org.springframework.dao.DataAccessException
loadGroupByGroupname
public hudson.security.GroupDetails loadGroupByGroupname(String groupname)
throws org.acegisecurity.userdetails.UsernameNotFoundException,
org.springframework.dao.DataAccessException
- Specified by:
loadGroupByGroupname
in class hudson.security.AbstractPasswordBasedSecurityRealm
- Throws:
org.acegisecurity.userdetails.UsernameNotFoundException
org.springframework.dao.DataAccessException
install
@Extension
public static PAMSecurityRealm.DescriptorImpl install()
Copyright © 2004-2012. All Rights Reserved.