public class IfsCredentialManagerServer extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CREDENTIAL_CHALLENGERESPONSE
Indicates SMB challenge/response credential.
|
static int |
CREDENTIAL_CLEARTEXT
Indicates cleartext credential.
|
static int |
CREDENTIAL_HTTPDIGEST
Indicates HTTP digest credential.
|
static int |
HTTPDIGESTCREDENTIALTYPE_RFC2069
HTTP digest RFC-2069 verifier.
|
static int |
HTTPDIGESTCREDENTIALTYPE_RFC2617
HTTP digest RFC-2617 verifier.
|
static int |
STATUS_CRYPTO_TOOL_KIT
CryptoToolkit status.
|
static int |
STATUS_DOTKIT
9042 DotKit status.
|
static int |
STATUS_UNKNOWN
Unknown status.
|
static int |
TYPE_LMSESSIONKEY
SMB LM verifier.
|
static int |
TYPE_NTSESSIONKEY
SMB NT verifier.
|
static int |
TYPE_UNKNOWN
Unknown SMB verifier.
|
Constructor and Description |
---|
IfsCredentialManagerServer() |
Modifier and Type | Method and Description |
---|---|
static int |
authenticate(String distinguishedName,
byte[] serializedCredential,
byte[][] serializedException)
Authenticates the specified user using the specified credential.
|
static int |
createUser(String distinguishedName,
String password,
String subscriber,
byte[][] serializedException)
Creates a new user.
|
static int |
deleteUser(String distinguishedName,
byte[][] serializedException)
Deletes the specified user.
|
static int |
exists(String distinguishedName,
byte[][] serializedException)
Determines whether this CredentialManager can authenticate the
specified user.
|
static String |
getVersionString()
Gets the version of this IfsCredentialManager as a string.
|
static byte[] |
listRealms(byte[][] serializedException)
Gets the list of realms managed by this CredentialManager.
|
static byte[] |
listUsers(byte[][] serializedException)
Gets the distinguished names of all users managed by this
CredentialManager.
|
static int |
setPassword(String distinguishedName,
String password,
byte[][] serializedException)
Sets the password of the specified user.
|
public static final int CREDENTIAL_CLEARTEXT
public static final int CREDENTIAL_CHALLENGERESPONSE
public static final int CREDENTIAL_HTTPDIGEST
public static final int TYPE_UNKNOWN
public static final int TYPE_NTSESSIONKEY
public static final int TYPE_LMSESSIONKEY
public static final int STATUS_UNKNOWN
public static final int STATUS_DOTKIT
public static final int STATUS_CRYPTO_TOOL_KIT
public static final int HTTPDIGESTCREDENTIALTYPE_RFC2069
public static final int HTTPDIGESTCREDENTIALTYPE_RFC2617
public static int exists(String distinguishedName, byte[][] serializedException)
distinguishedName
- the distinguished name of the userserializedException
- any exception to be sent back to callerpublic static int createUser(String distinguishedName, String password, String subscriber, byte[][] serializedException)
distinguishedName
- the distinguished name of the userpassword
- the password of the usersubscriber
- the realmserializedException
- any exception to be sent back to callerpublic static int deleteUser(String distinguishedName, byte[][] serializedException)
distinguishedName
- the distinguished name of the userserializedException
- any exception to be sent back to callerpublic static int setPassword(String distinguishedName, String password, byte[][] serializedException)
distinguishedName
- the distinguished name of the userpassword
- the new passwordserializedException
- any exception to be sent back to callerpublic static byte[] listUsers(byte[][] serializedException)
serializedException
- any exception to be sent back to callerpublic static byte[] listRealms(byte[][] serializedException)
serializedException
- any exception to be sent back to callerpublic static String getVersionString()
public static int authenticate(String distinguishedName, byte[] serializedCredential, byte[][] serializedException)
distinguishedName
- the distinguished name of the userserializedCredential
- a Vector representing the credentialserializedException
- any exception to be sent back to callerCopyright © 2023. All rights reserved.