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 boolean
changePassword
(String username, String oldpassword, String newpassword) abstract String
getHomeDirectory
(String username) static NativeAuthenticationProvider
abstract void
abstract boolean
abstract boolean
static void
setProvider
(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:
PasswordChangeException
IOException
-
logonUser
- Parameters:
username
-- Returns:
- Throws:
IOException
-
logoffUser
- Throws:
IOException
-
changePassword
- Parameters:
username
-oldpassword
-newpassword
-- Returns:
-
getInstance
- Returns:
- Throws:
IOException
-