org.jenkins.wso2.appfactory
Class CarbonSecurityRealm
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.security.SecurityRealm>
hudson.security.SecurityRealm
hudson.security.AbstractPasswordBasedSecurityRealm
org.jenkins.wso2.appfactory.CarbonSecurityRealm
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.security.SecurityRealm>, org.acegisecurity.userdetails.UserDetailsService
public class CarbonSecurityRealm
- extends hudson.security.AbstractPasswordBasedSecurityRealm
| 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 |
JENKINS_SERVER_ADMIN_USERNAME
public static final String JENKINS_SERVER_ADMIN_USERNAME
- See Also:
- Constant Field Values
JENKINS_SERVER_ADMIN_PASSWORD
public static final String JENKINS_SERVER_ADMIN_PASSWORD
- See Also:
- Constant Field Values
CarbonSecurityRealm
@DataBoundConstructor
public CarbonSecurityRealm()
install
@Extension
public static CarbonSecurityRealm.DescriptorImpl install()
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
createUserDetails
protected org.acegisecurity.userdetails.UserDetails createUserDetails(String username,
String password)
isJenkinsSystemUser
protected boolean isJenkinsSystemUser(String userName)
authenticateJenkinsSystemUser
protected boolean authenticateJenkinsSystemUser(String password)
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
Copyright © 2015 WSO2 Inc. All rights reserved.