org.nst.pasientlink.authenticator
Class Request
java.lang.Object
|
+--org.nst.pasientlink.authenticator.Request
- public class Request
- extends java.lang.Object
Constructor Summary |
Request(int timeoutMinutes,
java.lang.String myUserID,
java.lang.String mySingleUsePassword)
Constructor. |
Method Summary |
java.lang.String |
getSingleUsePassword()
getSingleUsePassword returns the single use password for this request,
or null if none has been set |
java.lang.String |
getUserID()
getUserID returns the userID for this request, or null if none has been set |
boolean |
isTimedOut()
isTimedOut returns true if the request has timed out, according
to the timeout policy. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
requestTimeoutMinutes
private int requestTimeoutMinutes
userID
private java.lang.String userID
singleUsePassword
private java.lang.String singleUsePassword
creationDate
private java.util.Date creationDate
Request
public Request(int timeoutMinutes,
java.lang.String myUserID,
java.lang.String mySingleUsePassword)
- Constructor. Sets creation date and other instance variables.
- Parameters:
myUserID
- String containing user idtimeoutMinutes
- int indicating number of minutes before request times outmySingleUsePassword
- String containing single use password for request
getUserID
public java.lang.String getUserID()
- getUserID returns the userID for this request, or null if none has been set
- Returns:
- String containing the userID for this request, or null if none has been set
getSingleUsePassword
public java.lang.String getSingleUsePassword()
- getSingleUsePassword returns the single use password for this request,
or null if none has been set
- Returns:
- String containing the single use password for this request, or null if none has been set
isTimedOut
public boolean isTimedOut()
- isTimedOut returns true if the request has timed out, according
to the timeout policy.
- Returns:
- boolean indicating whether or not the request has timed out.
Copyright © 2002 Norwegian Centre for Telemedicine. All Rights Reserved.