Package com.sshtools.daemon.platform
Class NativeAuthenticationProvider
java.lang.Object
com.sshtools.daemon.platform.NativeAuthenticationProvider
- Version:
- $Revision: 1.13 $
- Author:
- $author$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanchangePassword(String username, String oldpassword, String newpassword) abstract StringgetHomeDirectory(String username) static NativeAuthenticationProviderabstract voidabstract booleanabstract booleanstatic voidsetProvider(Class cls)
-
Constructor Details
-
NativeAuthenticationProvider
public NativeAuthenticationProvider()
-
-
Method Details
-
setProvider
- Parameters:
cls-
-
getHomeDirectory
- Parameters:
username-- Returns:
- Throws:
IOException
-
logonUser
public abstract boolean logonUser(String username, String password) throws PasswordChangeException, IOException - Parameters:
username-password-- Returns:
- Throws:
PasswordChangeExceptionIOException
-
logonUser
- Parameters:
username-- Returns:
- Throws:
IOException
-
logoffUser
- Throws:
IOException
-
changePassword
- Parameters:
username-oldpassword-newpassword-- Returns:
-
getInstance
- Returns:
- Throws:
IOException
-