hudson.plugins.collabnet.auth
Class CollabNetSecurityRealm
java.lang.Object
hudson.security.SecurityRealm
hudson.plugins.collabnet.auth.CollabNetSecurityRealm
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.security.SecurityRealm>
public class CollabNetSecurityRealm
- extends hudson.security.SecurityRealm
| 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 |
|
Constructor Summary |
CollabNetSecurityRealm(java.lang.String collabNetUrl,
java.lang.Boolean enableAuthFromCTF,
java.lang.Boolean enableAuthToCTF)
|
| Methods inherited from class hudson.security.SecurityRealm |
all, allowsSignup, canLogOut, doCaptcha, doLogout, findBean, getAuthenticationGatewayUrl, getDescriptor, getLoginUrl, getPostLogOutUrl, getSecurityComponents, loadGroupByGroupname, loadUserByUsername, validateCaptcha |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollabNetSecurityRealm
public CollabNetSecurityRealm(java.lang.String collabNetUrl,
java.lang.Boolean enableAuthFromCTF,
java.lang.Boolean enableAuthToCTF)
getCollabNetUrl
public java.lang.String getCollabNetUrl()
getEnableSSOAuthFromCTF
public boolean getEnableSSOAuthFromCTF()
- Single sign on preference governing making hudson read CTF's SSO token
- Returns:
- true to enable
getEnableSSOAuthToCTF
public boolean getEnableSSOAuthToCTF()
- Single sign on preference governing making hudson 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 Hudson.
- Returns:
- true to enable
createSecurityComponents
public hudson.security.SecurityRealm.SecurityComponents createSecurityComponents()
- Specified by:
createSecurityComponents in class hudson.security.SecurityRealm
createFilter
public javax.servlet.Filter createFilter(javax.servlet.FilterConfig filterConfig)
- Override the default createFilter. We want to use one that does not
return a 403 on login redirect because that may cause problems when
Hudson is run behind a proxy.
- Overrides:
createFilter in class hudson.security.SecurityRealm
Copyright © 2010. All Rights Reserved.