|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgoldengate.ftp.exec.file.SimpleAuth
public class SimpleAuth

Simple Authentication based on a previously load XML file.
| Field Summary | |
|---|---|
String[] |
accounts
Multiple accounts |
AbstractExecutor.CommandExecutor |
commandExecutor
|
boolean |
isAdmin
Is the current user an administrator (which can shutdown or change bandwidth limitation) |
String |
password
Password |
String |
retrCmd
Specific Retrieve command for this user |
long |
retrDelay
Specific Retrieve command delay for this user |
String |
storCmd
Specific Store command for this user |
long |
storDelay
Specific Store command delay for this user |
String |
user
User name |
| Constructor Summary | |
|---|---|
SimpleAuth(String user,
String password,
String[] accounts,
String storCmd,
long storDelay,
String retrCmd,
long retrDelay)
|
|
| Method Summary | |
|---|---|
boolean |
isAccountValid(String account)
Is the given account a valid one |
boolean |
isPasswordValid(String newpassword)
Is the given password a valid one |
void |
setAdmin(boolean isAdmin)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public String user
public String password
public String[] accounts
public boolean isAdmin
public String storCmd
public long storDelay
public String retrCmd
public long retrDelay
public AbstractExecutor.CommandExecutor commandExecutor
| Constructor Detail |
|---|
public SimpleAuth(String user,
String password,
String[] accounts,
String storCmd,
long storDelay,
String retrCmd,
long retrDelay)
user - password - accounts - storCmd - storDelay - retrCmd - retrDelay - | Method Detail |
|---|
public boolean isPasswordValid(String newpassword)
newpassword -
public boolean isAccountValid(String account)
account -
public void setAdmin(boolean isAdmin)
isAdmin - True if the user should be an administrator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||