hudson.plugins.active_directory
Class ActiveDirectorySecurityRealm.DesciprotrImpl

java.lang.Object
  extended by hudson.model.Descriptor<hudson.security.SecurityRealm>
      extended by hudson.plugins.active_directory.ActiveDirectorySecurityRealm.DesciprotrImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
ActiveDirectorySecurityRealm

public static final class ActiveDirectorySecurityRealm.DesciprotrImpl
extends hudson.model.Descriptor<hudson.security.SecurityRealm>


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType
 
Field Summary
static ActiveDirectorySecurityRealm.DesciprotrImpl INSTANCE
           
 
Fields inherited from class hudson.model.Descriptor
ALL, clazz
 
Constructor Summary
ActiveDirectorySecurityRealm.DesciprotrImpl()
           
 
Method Summary
 javax.naming.directory.DirContext createDNSLookupContext()
          Creates DirContext for accesssing DNS.
 void doDomainCheck(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, java.lang.String value)
           
 java.lang.String getDisplayName()
           
 java.lang.String getHelpFile()
           
 java.lang.String obtainLDAPServer(javax.naming.directory.DirContext ictx, java.lang.String domainName)
          Use DNS and obtains the LDAP server's host name.
 java.lang.String obtainLDAPServer(java.lang.String domainName)
           
 
Methods inherited from class hudson.model.Descriptor
configure, configure, configure, convert, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, load, newInstance, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final ActiveDirectorySecurityRealm.DesciprotrImpl INSTANCE
Constructor Detail

ActiveDirectorySecurityRealm.DesciprotrImpl

public ActiveDirectorySecurityRealm.DesciprotrImpl()
Method Detail

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.security.SecurityRealm>

getHelpFile

public java.lang.String getHelpFile()
Overrides:
getHelpFile in class hudson.model.Descriptor<hudson.security.SecurityRealm>

doDomainCheck

public void doDomainCheck(org.kohsuke.stapler.StaplerRequest req,
                          org.kohsuke.stapler.StaplerResponse rsp,
                          @QueryParameter(value="value")
                          java.lang.String value)
                   throws java.io.IOException,
                          javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

createDNSLookupContext

public javax.naming.directory.DirContext createDNSLookupContext()
                                                         throws javax.naming.NamingException
Creates DirContext for accesssing DNS.

Throws:
javax.naming.NamingException

obtainLDAPServer

public java.lang.String obtainLDAPServer(java.lang.String domainName)
                                  throws javax.naming.NamingException
Throws:
javax.naming.NamingException

obtainLDAPServer

public java.lang.String obtainLDAPServer(javax.naming.directory.DirContext ictx,
                                         java.lang.String domainName)
                                  throws javax.naming.NamingException
Use DNS and obtains the LDAP server's host name.

Throws:
javax.naming.NamingException


Copyright © 2009. All Rights Reserved.