Package hudson.plugins.collabnet.auth
Class CollabNetSecurityRealm
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<SecurityRealm>
-
- hudson.security.SecurityRealm
-
- hudson.plugins.collabnet.auth.CollabNetSecurityRealm
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<SecurityRealm>
public class CollabNetSecurityRealm extends SecurityRealm
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CollabNetSecurityRealm.DescriptorImpl
The CollabNetSecurityRealm Descriptor class.-
Nested classes/interfaces inherited from class hudson.security.SecurityRealm
SecurityRealm.SecurityComponents
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.security.SecurityRealm
AUTHENTICATED_AUTHORITY, AUTHENTICATED_AUTHORITY2, LIST, NO_AUTHENTICATION
-
-
Constructor Summary
Constructors Constructor Description CollabNetSecurityRealm(String collabNetUrl, boolean enableSSOAuthFromCTF, boolean enableSSOAuthToCTF)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityRealm.SecurityComponents
createSecurityComponents()
String
getCollabNetUrl()
boolean
getEnableSSOAuthFromCTF()
Single sign on preference governing making Jenkins read CTF's SSO tokenboolean
getEnableSSOAuthToCTF()
Single sign on preference governing making Jenkins login to CTF upon authenticatingboolean
getEnableSSORedirect()
Whether after singole singon into CTF, we should automatically redirect back to Jenkins.-
Methods inherited from class hudson.security.SecurityRealm
all, allowsSignup, canLogOut, commenceSignup, commonFilters, createCliAuthenticator, createFilter, doCaptcha, doLogout, getAuthenticationGatewayUrl, getCaptchaSupport, getCaptchaSupportDescriptors, getDescriptor, getFrom, getGroupIdStrategy, getLoginUrl, getPostLogOutUrl, getPostLogOutUrl2, getSecurityComponents, getUserIdStrategy, loadGroupByGroupname, loadGroupByGroupname, loadGroupByGroupname2, loadUserByUsername, loadUserByUsername2, setCaptchaSupport, validateCaptcha
-
-
-
-
Constructor Detail
-
CollabNetSecurityRealm
@DataBoundConstructor public CollabNetSecurityRealm(String collabNetUrl, boolean enableSSOAuthFromCTF, boolean enableSSOAuthToCTF)
-
-
Method Detail
-
getCollabNetUrl
public String getCollabNetUrl()
-
getEnableSSOAuthFromCTF
public boolean getEnableSSOAuthFromCTF()
Single sign on preference governing making Jenkins read CTF's SSO token- Returns:
- true to enable
-
getEnableSSOAuthToCTF
public boolean getEnableSSOAuthToCTF()
Single sign on preference governing making Jenkins login to CTF upon authenticating- Returns:
- true to enable
-
getEnableSSORedirect
public boolean getEnableSSORedirect()
Whether after singole singon into CTF, we should automatically redirect back to Jenkins.- Returns:
- true to enable
-
createSecurityComponents
public SecurityRealm.SecurityComponents createSecurityComponents()
- Specified by:
createSecurityComponents
in classSecurityRealm
-
-