|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.model.Descriptor<hudson.security.SecurityRealm>
hudson.plugins.active_directory.ActiveDirectorySecurityRealm.DesciprotrImpl
@Extension public static final class ActiveDirectorySecurityRealm.DesciprotrImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
|---|
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType |
| Field Summary |
|---|
| Fields inherited from class hudson.model.Descriptor |
|---|
clazz |
| Fields inherited from interface hudson.model.Saveable |
|---|
NOOP |
| Constructor Summary | |
|---|---|
ActiveDirectorySecurityRealm.DesciprotrImpl()
|
|
| Method Summary | |
|---|---|
DirContext |
bind(String principalName,
String password,
List<SocketInfo> ldapServers,
SocketInfo preferredServer)
Binds to the server using the specified username/password. |
boolean |
canDoNativeAuth()
If true, we can do ADSI/COM based look up that's far more reliable. |
DirContext |
createDNSLookupContext()
Creates DirContext for accesssing DNS. |
hudson.util.FormValidation |
doValidate(String domain,
String site,
String bindName,
String bindPassword,
String server)
|
String |
getDisplayName()
|
String |
getHelpFile()
|
List<SocketInfo> |
obtainLDAPServer(DirContext ictx,
String domainName,
String site,
String preferredServer)
Use DNS and obtains the LDAP servers that we should try. |
List<SocketInfo> |
obtainLDAPServer(String domainName,
String site,
String preferredServer)
|
| Methods inherited from class hudson.model.Descriptor |
|---|
calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, toArray, toList, toMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActiveDirectorySecurityRealm.DesciprotrImpl()
| Method Detail |
|---|
public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.security.SecurityRealm>public String getHelpFile()
getHelpFile in class hudson.model.Descriptor<hudson.security.SecurityRealm>public boolean canDoNativeAuth()
ActiveDirectoryUnixAuthenticationProvider
public hudson.util.FormValidation doValidate(@QueryParameter(fixEmpty=true)
String domain,
@QueryParameter(fixEmpty=true)
String site,
@QueryParameter(fixEmpty=true)
String bindName,
@QueryParameter(fixEmpty=true)
String bindPassword,
@QueryParameter(fixEmpty=true)
String server)
throws IOException,
javax.servlet.ServletException,
NamingException
IOException
javax.servlet.ServletException
NamingException
public DirContext bind(String principalName,
String password,
List<SocketInfo> ldapServers,
SocketInfo preferredServer)
In a real deployment, often there are servers that don't respond or otherwise broken, so try all the servers.
public DirContext createDNSLookupContext()
throws NamingException
DirContext for accesssing DNS.
NamingException
public List<SocketInfo> obtainLDAPServer(String domainName,
String site,
String preferredServer)
throws NamingException
NamingException
public List<SocketInfo> obtainLDAPServer(DirContext ictx,
String domainName,
String site,
String preferredServer)
throws NamingException
NamingException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||