Package hudson.security
Class PAMSecurityRealm
java.lang.Object
hudson.model.AbstractDescribableImpl<SecurityRealm>
hudson.security.SecurityRealm
hudson.security.AbstractPasswordBasedSecurityRealm
hudson.security.PAMSecurityRealm
- All Implemented Interfaces:
ExtensionPoint,Describable<SecurityRealm>
SecurityRealm that uses Unix PAM authentication.- Since:
- 1.282
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.security.SecurityRealm
SecurityRealm.SecurityComponentsNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsFields inherited from class hudson.security.SecurityRealm
AUTHENTICATED_AUTHORITY, AUTHENTICATED_AUTHORITY2, LIST, NO_AUTHENTICATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.security.core.userdetails.UserDetailsauthenticate2(String username, String password) install()loadGroupByGroupname2(String groupName, boolean fetchMembers) org.springframework.security.core.userdetails.UserDetailsloadUserByUsername2(String username) Methods inherited from class hudson.security.AbstractPasswordBasedSecurityRealm
authenticate, authenticateByPassword, createSecurityComponents, loadGroupByGroupname, loadUserByUsernameMethods inherited from class hudson.security.SecurityRealm
all, allowsSignup, canLogOut, commenceSignup, commonFilters, createCliAuthenticator, createFilter, createFilter, doCaptcha, doLogout, doLogout, getAuthenticationGatewayUrl, getCaptchaSupport, getCaptchaSupportDescriptors, getDescriptor, getFrom, getLoginUrl, getPostLogOutUrl, getPostLogOutUrl2, getPostLogOutUrl2, getSecurityComponents, loadGroupByGroupname, setCaptchaSupport, validateCaptcha
-
Field Details
-
serviceName
-
-
Constructor Details
-
PAMSecurityRealm
-
-
Method Details
-
authenticate2
protected org.springframework.security.core.userdetails.UserDetails authenticate2(String username, String password) throws org.springframework.security.core.AuthenticationException - Overrides:
authenticate2in classAbstractPasswordBasedSecurityRealm- Throws:
org.springframework.security.core.AuthenticationException
-
loadUserByUsername2
public org.springframework.security.core.userdetails.UserDetails loadUserByUsername2(String username) throws org.springframework.security.core.userdetails.UsernameNotFoundException - Overrides:
loadUserByUsername2in classAbstractPasswordBasedSecurityRealm- Throws:
org.springframework.security.core.userdetails.UsernameNotFoundException
-
loadGroupByGroupname2
public GroupDetails loadGroupByGroupname2(String groupName, boolean fetchMembers) throws org.springframework.security.core.userdetails.UsernameNotFoundException - Overrides:
loadGroupByGroupname2in classAbstractPasswordBasedSecurityRealm- Throws:
org.springframework.security.core.userdetails.UsernameNotFoundException
-
getUserIdStrategy
- Overrides:
getUserIdStrategyin classSecurityRealm- Since:
- 1.2
-
getGroupIdStrategy
- Overrides:
getGroupIdStrategyin classSecurityRealm- Since:
- 1.2
-
install
-