|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--oracle.ifs.common.ChallengeResponseCredential
A ChallengeResponseCredential encapsulates a name, challenge, and response for presentation to a CredentialManager to authenticate a user, based on the SMB authentication mechanism.
| Field Summary | |
static int |
TYPE_LMSESSIONKEY
Indicates an SMB LM session key type of response. |
static int |
TYPE_NTSESSIONKEY
Indicates an SMB NT session key type of response. |
static int |
TYPE_UNKNOWN
Indicates an unknown type of response. |
| Constructor Summary | |
ChallengeResponseCredential()
Constructs a ChallengeResponseCredential. |
|
ChallengeResponseCredential(java.lang.String name,
byte[] challenge,
byte[] response,
int type)
Constructs a ChallengeResponseCredential. |
|
| Method Summary | |
byte[] |
getChallenge()
Gets the challenge. |
java.lang.String |
getName()
Gets the name of the user. |
byte[] |
getResponse()
Gets the response. |
int |
getType()
Gets the type of the response. |
void |
setChallenge(byte[] challenge)
Sets the challenge. |
void |
setName(java.lang.String name)
Sets the name of the user. |
void |
setResponse(byte[] response)
Sets the response. |
void |
setType(int type)
Sets the type of the response. |
| Field Detail |
public static final int TYPE_UNKNOWN
public static final int TYPE_NTSESSIONKEY
public static final int TYPE_LMSESSIONKEY
| Constructor Detail |
public ChallengeResponseCredential()
throws IfsException
IfsException - if the operation fails
public ChallengeResponseCredential(java.lang.String name,
byte[] challenge,
byte[] response,
int type)
throws IfsException
name - the name of the userchallenge - the 8-byte challengeresponse - the 24-byte responsetype - the type of the responseIfsException - if the operation fails| Method Detail |
public java.lang.String getName()
throws IfsException
getName in interface CredentialIfsException - if the operation fails
public void setName(java.lang.String name)
throws IfsException
name - the name of the userIfsException - if the operation fails
public byte[] getChallenge()
throws IfsException
IfsException - if the operation fails
public void setChallenge(byte[] challenge)
throws IfsException
challenge - the 8-byte challengeIfsException - if the operation fails
public byte[] getResponse()
throws IfsException
IfsException - if the operation fails
public void setResponse(byte[] response)
throws IfsException
response - the 24-byte responseIfsException - if the operation fails
public int getType()
throws IfsException
IfsException - if the operation fails
public void setType(int type)
throws IfsException
type - the type; must be either
TYPE_NTSESSIONKEY or
TYPE_LMSESSIONKEYIfsException - if the operation fails
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||