Class Login
- java.lang.Object
-
- 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 workingRepository
-
-
Constructor Summary
Constructors Constructor Description Login()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception
- Specified by:
execute
in interfaceorg.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
- theWorkspace
key to set
-
-