Groovy Documentation

controllers
Class SvnAuthController

java.lang.Object
  controllers.SvnAuthController

class SvnAuthController

Property Summary
static Map conf

Config

def create

Set up creation of a new group of settings

def delete

Delete an authentication definition

def edit

Set up an edit for the basic settings of an auth definition

def editCert

Set up an edit of the client cert

def editKey

Set up an edit of the private key

def editPassword

Set up an edit of the password

def index

def list

List all active authentication settings.

def save

Save a new set of settings

def show

def update

Process an edit

def updateCert

Save an update to a client X509 certificate

def updateKey

Save an update to an SSH private key

def updatePassword

Save an update to the password

 
Constructor Summary
SvnAuthController()

 
Method Summary
def editSomething()

Shared logic for setting up an update of the password, private key or client certificate.

def getAuthOrRedirect(Map redirectParams)

Utility method to get the AuthenticationData identified by the current params, or to issue a redirect with the relevant message if either the given ID is not found, or it is found but represents the protected "none" authentication data.

def updateKeyOrCert(FileAndPasswordCommand cmd, String filePrefix, String fileSuffix, String editView, String fileProperty, String passProperty)

Common logic involved in saving updates to the private key or cert

 
Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Property Detail

conf

static Map conf
Config


create

def create
Set up creation of a new group of settings


delete

def delete
Delete an authentication definition


edit

def edit
Set up an edit for the basic settings of an auth definition


editCert

def editCert
Set up an edit of the client cert


editKey

def editKey
Set up an edit of the private key


editPassword

def editPassword
Set up an edit of the password


index

def index


list

def list
List all active authentication settings.


save

def save
Save a new set of settings


show

def show


update

def update
Process an edit


updateCert

def updateCert
Save an update to a client X509 certificate


updateKey

def updateKey
Save an update to an SSH private key


updatePassword

def updatePassword
Save an update to the password


 
Constructor Detail

SvnAuthController

SvnAuthController()


 
Method Detail

editSomething

public def editSomething()
Shared logic for setting up an update of the password, private key or client certificate. This is a method rather than a closure-valued parameter so it is not exposed as an action in itself.


getAuthOrRedirect

public def getAuthOrRedirect(Map redirectParams)
Utility method to get the AuthenticationData identified by the current params, or to issue a redirect with the relevant message if either the given ID is not found, or it is found but represents the protected "none" authentication data.


updateKeyOrCert

public def updateKeyOrCert(FileAndPasswordCommand cmd, String filePrefix, String fileSuffix, String editView, String fileProperty, String passProperty)
Common logic involved in saving updates to the private key or cert


 

Groovy Documentation