public abstract class DuccAdminEvent extends Object implements Serializable
Modifier | Constructor and Description |
---|---|
protected |
DuccAdminEvent(String user,
byte[] auth_block)
Create a request to send to DUCC.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getAuthBlock()
Return the authentication block for the request.
|
String |
getUser()
Return the id of the user making the request.
|
String |
toString() |
protected DuccAdminEvent(String user, byte[] auth_block)
user
- This is the id of the user making the request.auth_block
- This is the authentication block as returned by Crypto
. The receiver
will validate the messsage and if the auth_block
does not match what receiver expects,
the request is denied. Nota that this is NOT intended to provide foolproof security. It's only
intention is to provde basic authentication of the user (is the user who he claims to be?).Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.