|
|||||||||
| Home >> All >> org >> mitre >> [ cvw overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mitre.cvw
Class Authenticator

java.lang.Objectorg.mitre.cvw.Authenticator
- class Authenticator
- extends java.lang.Object
This class processes all cvw-auth MCP commands that are sent to and from the CVW server; it is a stub for future expansion of different more stringent authentication methods. Currently, this client only supports "basic".
- Version:
- 1.0
| Field Summary | |
(package private) java.util.Vector |
allowedAuthMethods
|
CVWCoordinator |
applet
|
(package private) static java.lang.String |
authKey
|
(package private) java.util.Hashtable |
availAuthMethods
|
(package private) java.util.Vector |
clientAuthMethods
|
(package private) java.lang.String |
currentAuthMethod
|
(package private) int |
currentTry
|
(package private) int |
maxNumRetries
|
(package private) java.util.Vector |
prefAuthMethods
|
| Constructor Summary | |
(package private) |
Authenticator(java.lang.String authMethodList,
int max)
|
| Method Summary | |
void |
chooseAuthMethod()
Sends the authentication method of "basic". |
void |
clearKey()
Clears the current authorization key. |
static java.lang.String |
getAuthKey()
|
void |
orderAuthName(java.lang.String nameOrder,
java.lang.String allows)
Stores the preferred and allowed authentication methods. |
void |
parseClientMethods(java.lang.String clientAllows)
Parses a string of authentication methods that the client allows |
void |
processCVWAuth(java.lang.String cmd,
MCPCommand mcpCmd)
Process the different cvw-auth MCP commands. |
void |
removeCurrentAuthMethod()
Removes the current authenication method when the CVW server refuses it, and sends the next best protocol. |
void |
resetCurrentTry()
Resets the current try. |
void |
storeAuthName(java.lang.String name,
java.lang.String from,
java.lang.String to)
Stores an authentication protocol sent from CVW server. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
applet
public CVWCoordinator applet
currentAuthMethod
java.lang.String currentAuthMethod
availAuthMethods
java.util.Hashtable availAuthMethods
prefAuthMethods
java.util.Vector prefAuthMethods
allowedAuthMethods
java.util.Vector allowedAuthMethods
clientAuthMethods
java.util.Vector clientAuthMethods
authKey
static java.lang.String authKey
maxNumRetries
int maxNumRetries
currentTry
int currentTry
| Constructor Detail |
Authenticator
Authenticator(java.lang.String authMethodList, int max)
| Method Detail |
getAuthKey
public static java.lang.String getAuthKey()
clearKey
public void clearKey()
- Clears the current authorization key.
chooseAuthMethod
public void chooseAuthMethod()
- Sends the authentication method of "basic". Eventually should
choose from a list of available methods to have client and server
most compatible at an appropriate level.
MCP send cvw-auth-method
resetCurrentTry
public void resetCurrentTry()
- Resets the current try.
removeCurrentAuthMethod
public void removeCurrentAuthMethod()
- Removes the current authenication method when the CVW server refuses it,
and sends the next best protocol.
storeAuthName
public void storeAuthName(java.lang.String name, java.lang.String from, java.lang.String to)
- Stores an authentication protocol sent from CVW server.
orderAuthName
public void orderAuthName(java.lang.String nameOrder, java.lang.String allows)
- Stores the preferred and allowed authentication methods.
parseClientMethods
public void parseClientMethods(java.lang.String clientAllows)
- Parses a string of authentication methods that the client allows
processCVWAuth
public void processCVWAuth(java.lang.String cmd, MCPCommand mcpCmd)
- Process the different cvw-auth MCP commands.
MCP receive cvw-auth
|
|||||||||
| Home >> All >> org >> mitre >> [ cvw overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.mitre.cvw.Authenticator