|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rsa.ace.techservice.udpserver.AbstractAceRequest
com.rsa.ace.techservice.udpserver.AbstractV3Request
com.rsa.ace.techservice.udpserver.AceAuthV3Request
public class AceAuthV3Request
This class represents an Ace Authentication Version 3 Request use by cross realm.
Usage:
// Creates a new request object for the Agent.
AceAuthV3Request request = new AceAuthV3Request("username", "pin", "passcode");
// Get the packet
DatagramPacket packet = request.getPacket();
// After the packet can be sent to the server and the server can recreate the request
// from the packet. THIS NEEDS TO BE IMPLEMENTED PROPERLY.
AceAuthV3Request request = new AceAuthV3Request(packet);
// Process the request by decrypting is necessary
request.processRequest();
// Get the gesponse to the request.
request.getResponse();
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.rsa.ace.techservice.udpserver.AbstractV3Request |
|---|
AbstractV3Request.MessageType |
| Field Summary |
|---|
| Fields inherited from interface com.rsa.ace.techservice.udpserver.AceRequest |
|---|
NO_RESPONSE, QUEUE_RESPONSE, RESPOND_NOW |
| Constructor Summary | |
|---|---|
AceAuthV3Request(AceDatagram pkt)
Creates a new instance of AceAuthV3Request from a datagram. |
|
AceAuthV3Request(java.lang.String username,
java.lang.String pin,
java.lang.String prn,
AgentConfig agentConfig)
Creates a new instance of AceAuthV3Request. |
|
| Method Summary | |
|---|---|
AceDatagram |
getPacket()
Provides the original packet received from the agent. |
AceResponse |
getResponse()
Get an AceResponse from this request. |
byte[] |
getWpCode()
|
Passkey |
getWpCodes(int i)
|
int |
processRequest()
Processes a V3 auth request. |
java.lang.String |
toString()
String conversion method. |
| Methods inherited from class com.rsa.ace.techservice.udpserver.AbstractAceRequest |
|---|
getAcePinUtil, getAgentConfig, getBuffer, getCipherProvider, getCreationTime, getEncryptOffset, getHeader, getNonce, getProtocolVersion, getSecretKey, haveNodeSecret, haveSecretKey, readTrailer, setEncode, setEncryptOffset, setNodeSecret, setSecretKey, setTrailer |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.rsa.ace.techservice.udpserver.AceRequest |
|---|
getAgentConfig, getCipherProvider, getCreationTime, getHeader, getNonce, getProtocolVersion |
| Constructor Detail |
|---|
public AceAuthV3Request(AceDatagram pkt)
throws AcePacketException
pkt - The packet used to construct the request.
AcePacketException
public AceAuthV3Request(java.lang.String username,
java.lang.String pin,
java.lang.String prn,
AgentConfig agentConfig)
throws AcePacketException
String - usernameString - pinString - prn
AcePacketException - If an error occurs constructing the header.| Method Detail |
|---|
public int processRequest()
throws AcePacketException
processRequest in interface AceRequestprocessRequest in class AbstractAceRequestAcePacketException - If an exception occurs building the repsonse.public AceResponse getResponse()
getResponse in interface AceRequestpublic java.lang.String toString()
toString in interface AceRequesttoString in class AbstractV3Request
public AceDatagram getPacket()
throws AcePacketException
getPacket in interface AceRequestgetPacket in class AbstractAceRequestAcePacketExceptionpublic Passkey getWpCodes(int i)
public byte[] getWpCode()
getWpCode in interface AceRequestgetWpCode in class AbstractAceRequest
|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||