Package org.codelibs.fess.auth.chain
Class CommandChain
java.lang.Object
org.codelibs.fess.auth.chain.CommandChain
- All Implemented Interfaces:
AuthenticationChain
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classprotected static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanchangePassword(String username, String password) voidprotected intexecuteCommand(String[] commands, String username, String password) protected booleanisTargetUser(String username) voidsetCommandOutputEncoding(String commandOutputEncoding) voidsetDeleteCommand(String[] deleteCommand) voidsetExecutionTimeout(long executionTimeout) voidsetMaxOutputLine(int maxOutputLine) voidsetTargetUsers(String[] targetUsers) voidsetUpdateCommand(String[] updateCommand) voidsetWorkingDirectory(File workingDirectory) void
-
Field Details
-
workingDirectory
-
maxOutputLine
protected int maxOutputLine -
executionTimeout
protected long executionTimeout -
commandOutputEncoding
-
updateCommand
-
deleteCommand
-
targetUsers
-
-
Constructor Details
-
CommandChain
public CommandChain()
-
-
Method Details
-
update
- Specified by:
updatein interfaceAuthenticationChain
-
delete
- Specified by:
deletein interfaceAuthenticationChain
-
changePassword
- Specified by:
changePasswordin interfaceAuthenticationChain
-
load
- Specified by:
loadin interfaceAuthenticationChain
-
isTargetUser
-
executeCommand
-
setWorkingDirectory
-
setMaxOutputLine
public void setMaxOutputLine(int maxOutputLine) -
setExecutionTimeout
public void setExecutionTimeout(long executionTimeout) -
setCommandOutputEncoding
-
setUpdateCommand
-
setDeleteCommand
-
setTargetUsers
-