org.apache.jackrabbit.standalone.cli.core
Class Login

java.lang.Object
  extended by org.apache.jackrabbit.standalone.cli.core.Login
All Implemented Interfaces:
org.apache.commons.chain.Command

public class Login
extends Object
implements org.apache.commons.chain.Command

Login to the current working Repository


Constructor Summary
Login()
           
 
Method Summary
 boolean execute(org.apache.commons.chain.Context ctx)
          
 String getPasswordKey()
           
 String getUserKey()
           
 String getWorkspaceKey()
           
 void setPasswordKey(String passwordKey)
           
 void setUserKey(String userKey)
           
 void setWorkspaceKey(String workspaceKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Login

public Login()
Method Detail

execute

public boolean execute(org.apache.commons.chain.Context ctx)
                throws Exception

Specified by:
execute in interface org.apache.commons.chain.Command
Throws:
Exception

getPasswordKey

public String getPasswordKey()
Returns:
the password key

setPasswordKey

public void setPasswordKey(String passwordKey)
Parameters:
passwordKey - the password key to set

getUserKey

public String getUserKey()
Returns:
the user key.

setUserKey

public void setUserKey(String userKey)
Parameters:
userKey - the user key to set

getWorkspaceKey

public String getWorkspaceKey()
Returns:
the Workspace.

setWorkspaceKey

public void setWorkspaceKey(String workspaceKey)
Parameters:
workspaceKey - the Workspace key to set


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.