All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jnfs.security.DSAAuthentication

java.lang.Object
   |
   +----jnfs.security.DSAAuthentication

public class DSAAuthentication
extends Object
implements Authentication
An authentication manager implemented using DSA signatures.

Version:
$Id: DSAAuthentication.java,v 1.37 1997/05/20 19:16:20 mjr Exp $
Author:
Michael John Radwin

Constructor Index

 o DSAAuthentication(UserTable)
Contructs a new authentication manager with an empty user table.

Method Index

 o generateChallenge(String)
Generates a new challenge for this user and records it.
 o generateToken(String)
Generates a new token for this user and records it.
 o revokeToken(Token)
Removes this Token from token.user()'s cache of tokens.
 o verifyResponse(Response)
Checks that this Response is a valid version of the issued Challenge.
 o verifyToken(Token)
Checks that this Token is among those in token.user()'s cache of tokens.

Constructors

 o DSAAuthentication
 public DSAAuthentication(UserTable users)
Contructs a new authentication manager with an empty user table.

Methods

 o generateChallenge
 public Challenge generateChallenge(String username) throws AuthenticationException
Generates a new challenge for this user and records it. The challenge should later be verified with a call to verifyResponse().

Throws: AuthenticationException
if user is not found in the user table.
See Also:
verifyResponse
 o generateToken
 public Token generateToken(String username) throws AuthenticationException
Generates a new token for this user and records it. The challenge should later be verified with a call to verifyToken().

Throws: AuthenticationException
if user is not found in the user table.
See Also:
verifyToken
 o revokeToken
 public boolean revokeToken(Token token)
Removes this Token from token.user()'s cache of tokens.

 o verifyToken
 public boolean verifyToken(Token token)
Checks that this Token is among those in token.user()'s cache of tokens.

 o verifyResponse
 public boolean verifyResponse(Response credentials)
Checks that this Response is a valid version of the issued Challenge.


All Packages  Class Hierarchy  This Package  Previous  Next  Index