|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--com.distinct.rpc.AuthDesServerDB
Implements server side checks and a temporary database for client nickname authenticators. Used in Secure RPC.
AuthDes| Constructor Summary | |
AuthDesServerDB(java.lang.String servernetname,
java.lang.String passwd,
PublicKeyDB db)
Creates an authenticator database. |
|
| Method Summary | |
AuthDes |
checkAuth(Auth cred,
Auth verf)
Checks whether a credential fits to a verifier. |
void |
flush()
Flushes the nickname authenticator cache and forces all clients to send a new full authenticator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AuthDesServerDB(java.lang.String servernetname,
java.lang.String passwd,
PublicKeyDB db)
throws RPCError
servernetname - The name of the servers's authority.passwd - The password that authenticates the servers's authority.db - The key store.RPCError - Thrown if creation fails.| Method Detail |
public AuthDes checkAuth(Auth cred,
Auth verf)
throws RPCAuthError
cred - The credential to be checked.verf - The verifier to be checked.JRPC.RPCAuthError - Thrown if the check fails.public void flush()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||