◆ SecurityManager()
eu.baltrad.beast.security.SecurityManager.SecurityManager |
( |
| ) |
|
|
inline |
◆ createSignature()
String eu.baltrad.beast.security.SecurityManager.createSignature |
( |
String | message | ) |
|
|
inline |
◆ createSignatureMessage()
String eu.baltrad.beast.security.SecurityManager.createSignatureMessage |
( |
HttpUriRequest | request | ) |
|
|
inline |
Function that creates the message to be signed from an uri request.
This is ill-placed here and should be moved somewhere more appropriate.
- Parameters
-
request | the request the request |
- Returns
- the signature message
Implements eu.baltrad.beast.security.ISecurityManager.
◆ expandPrivateKey()
String eu.baltrad.beast.security.SecurityManager.expandPrivateKey |
( |
Authorization | authorization | ) |
|
|
inline |
◆ expandPublicKey()
String eu.baltrad.beast.security.SecurityManager.expandPublicKey |
( |
Authorization | authorization | ) |
|
|
inline |
◆ getKeyczarKeyPath()
String eu.baltrad.beast.security.SecurityManager.getKeyczarKeyPath |
( |
| ) |
|
|
inline |
- Returns
- path the keyczar key path
◆ getLocal()
Authorization eu.baltrad.beast.security.SecurityManager.getLocal |
( |
| ) |
|
|
inline |
◆ getLocalNodeName()
String eu.baltrad.beast.security.SecurityManager.getLocalNodeName |
( |
| ) |
|
|
inline |
◆ getSigner()
Signer eu.baltrad.beast.security.SecurityManager.getSigner |
( |
String | nodeName | ) |
|
|
inline |
◆ getVerifier()
Verifier eu.baltrad.beast.security.SecurityManager.getVerifier |
( |
String | nodeName | ) |
|
|
inline |
◆ isInjector()
boolean eu.baltrad.beast.security.SecurityManager.isInjector |
( |
String | nodeName | ) |
|
|
inline |
◆ setAuthorizationManager()
void eu.baltrad.beast.security.SecurityManager.setAuthorizationManager |
( |
IAuthorizationManager | authorizationManager | ) |
|
|
inline |
- Parameters
-
authorizationManager | the authorization manager |
◆ setAuthorizationRequestManager()
- Parameters
-
authorizationRequestManager | |
◆ setCryptoFactory()
void eu.baltrad.beast.security.SecurityManager.setCryptoFactory |
( |
CryptoFactory | factory | ) |
|
|
inline |
- Parameters
-
factory | the crypto factory |
◆ setKeyczarKeyPath()
void eu.baltrad.beast.security.SecurityManager.setKeyczarKeyPath |
( |
String | path | ) |
|
|
inline |
◆ setLocal()
void eu.baltrad.beast.security.SecurityManager.setLocal |
( |
Authorization | auth | ) |
|
|
inline |
◆ setLocalNodeName()
void eu.baltrad.beast.security.SecurityManager.setLocalNodeName |
( |
String | localNodeName | ) |
|
|
inline |
- Parameters
-
localNodeName | the local node name |
◆ validate() [1/2]
boolean eu.baltrad.beast.security.SecurityManager.validate |
( |
String | nodeName, |
|
|
String | messageDate, |
|
|
String | signature, |
|
|
Command | command ) |
|
inline |
Validates a command so that it is valid to run.
- Parameters
-
nodeName | The node name |
messageDate | The date when sending message |
signature | The signature in the message |
command | The command to be verified |
- Returns
- if command should be accepted or not
Implements eu.baltrad.beast.security.ISecurityManager.
◆ validate() [2/2]
boolean eu.baltrad.beast.security.SecurityManager.validate |
( |
String | nodeName, |
|
|
String | signature, |
|
|
String | message ) |
|
inline |
The documentation for this class was generated from the following file:
- src/eu/baltrad/beast/security/SecurityManager.java