hudson.plugins.collabnet.auth
Class CollabNetSecurityRealm.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<hudson.security.SecurityRealm>
      extended by hudson.plugins.collabnet.auth.CollabNetSecurityRealm.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
CollabNetSecurityRealm

public static final class CollabNetSecurityRealm.DescriptorImpl
extends hudson.model.Descriptor<hudson.security.SecurityRealm>

The CollabNetSecurityRealm Descriptor class.


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
 
Method Summary
 void doCollabNetUrlCheck(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
          Form validation for the CollabNet URL.
 java.lang.String getDisplayName()
           
 java.lang.String getHelpFile()
           
static java.lang.String getHelpUrl()
           
 CollabNetSecurityRealm newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 
Methods inherited from class hudson.model.Descriptor
configure, configure, configure, convert, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, load, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.security.SecurityRealm>
Returns:
string to display for configuration screen.

getHelpUrl

public static java.lang.String getHelpUrl()
Returns:
the url for the help files.

getHelpFile

public java.lang.String getHelpFile()
Overrides:
getHelpFile in class hudson.model.Descriptor<hudson.security.SecurityRealm>
Returns:
the path to the help file.

newInstance

public CollabNetSecurityRealm newInstance(org.kohsuke.stapler.StaplerRequest req,
                                          net.sf.json.JSONObject formData)
                                   throws hudson.model.Descriptor.FormException
Overrides:
newInstance in class hudson.model.Descriptor<hudson.security.SecurityRealm>
Parameters:
req - config page parameters.
Returns:
new CollabNetSecurityRealm object, instantiated from the configuration form vars.
Throws:
FormException
hudson.model.Descriptor.FormException

doCollabNetUrlCheck

public void doCollabNetUrlCheck(org.kohsuke.stapler.StaplerRequest req,
                                org.kohsuke.stapler.StaplerResponse rsp)
                         throws java.io.IOException,
                                javax.servlet.ServletException
Form validation for the CollabNet URL.

Parameters:
req - StaplerRequest which contains parameters from the config.jelly.
rsp - contains http response data (unused).
Throws:
java.io.IOException
javax.servlet.ServletException


Copyright © 2009. All Rights Reserved.