BEAST
eu.baltrad.beast.security.Authorization Class Reference

Container for keeping track of an authorization. More...

Public Member Functions

String getNodeName ()
 
void setNodeName (String nodeName)
 
String getNodeEmail ()
 
void setNodeEmail (String nodeEmail)
 
String getNodeAddress ()
 
void setNodeAddress (String nodeAddress)
 
byte[] getPublicKey ()
 
void setPublicKey (byte[] publicKey)
 
String getPublicKeyPath ()
 
void setPublicKeyPath (String publicKeyPath)
 
byte[] getPrivateKey ()
 
void setPrivateKey (byte[] privateKey)
 
String getPrivateKeyPath ()
 
void setPrivateKeyPath (String privateKeyPath)
 
Date getLastUpdated ()
 
void setLastUpdated (Date lastUpdated)
 
boolean isAuthorized ()
 
void setAuthorized (boolean authorized)
 
boolean isLocal ()
 
void setLocal (boolean local)
 
String getConnectionUUID ()
 
void setConnectionUUID (String connectionuuid)
 
boolean isInjector ()
 
void setInjector (boolean injector)
 
String getRedirectedAddress ()
 
void setRedirectedAddress (String redirectedAddress)
 

Detailed Description

Container for keeping track of an authorization.

Used by both remote and local node

Author
anders

Member Function Documentation

◆ getConnectionUUID()

String eu.baltrad.beast.security.Authorization.getConnectionUUID ( )
inline
Returns
the connection uuid identifiying this node

◆ getLastUpdated()

Date eu.baltrad.beast.security.Authorization.getLastUpdated ( )
inline
Returns
last update

◆ getNodeAddress()

String eu.baltrad.beast.security.Authorization.getNodeAddress ( )
inline
Returns
the node address

◆ getNodeEmail()

String eu.baltrad.beast.security.Authorization.getNodeEmail ( )
inline
Returns
the node email

◆ getNodeName()

String eu.baltrad.beast.security.Authorization.getNodeName ( )
inline
Returns
the node name

◆ getPrivateKey()

byte[] eu.baltrad.beast.security.Authorization.getPrivateKey ( )
inline
Returns
the private key

◆ getPrivateKeyPath()

String eu.baltrad.beast.security.Authorization.getPrivateKeyPath ( )
inline
Returns
the private key path

◆ getPublicKey()

byte[] eu.baltrad.beast.security.Authorization.getPublicKey ( )
inline
Returns
the public key

◆ getPublicKeyPath()

String eu.baltrad.beast.security.Authorization.getPublicKeyPath ( )
inline
Returns
the public key path

◆ getRedirectedAddress()

String eu.baltrad.beast.security.Authorization.getRedirectedAddress ( )
inline
Returns
the redirected address for this authorization

◆ isAuthorized()

boolean eu.baltrad.beast.security.Authorization.isAuthorized ( )
inline
Returns
if this authorization is authorized access

◆ isInjector()

boolean eu.baltrad.beast.security.Authorization.isInjector ( )
inline
Returns
if this authorization should be set with injector privileges

◆ isLocal()

boolean eu.baltrad.beast.security.Authorization.isLocal ( )
inline
Returns
if this authorization represents the local node

◆ setAuthorized()

void eu.baltrad.beast.security.Authorization.setAuthorized ( boolean authorized)
inline
Parameters
authorizedif this authorization is authorized access

◆ setConnectionUUID()

void eu.baltrad.beast.security.Authorization.setConnectionUUID ( String connectionuuid)
inline
Parameters
connectionuuidthe uuid identifying this node

◆ setInjector()

void eu.baltrad.beast.security.Authorization.setInjector ( boolean injector)
inline
Parameters
injectorif this authorization should be set with injector privileges

◆ setLastUpdated()

void eu.baltrad.beast.security.Authorization.setLastUpdated ( Date lastUpdated)
inline
Parameters
lastUpdatedlast update

◆ setLocal()

void eu.baltrad.beast.security.Authorization.setLocal ( boolean local)
inline
Parameters
localif this authorization represents the local node

◆ setNodeAddress()

void eu.baltrad.beast.security.Authorization.setNodeAddress ( String nodeAddress)
inline
Parameters
nodeAddressthe node address

◆ setNodeEmail()

void eu.baltrad.beast.security.Authorization.setNodeEmail ( String nodeEmail)
inline
Parameters
nodeEmailthe node email

◆ setNodeName()

void eu.baltrad.beast.security.Authorization.setNodeName ( String nodeName)
inline
Parameters
nodeNamethe node name

◆ setPrivateKey()

void eu.baltrad.beast.security.Authorization.setPrivateKey ( byte[] privateKey)
inline
Parameters
privateKeythe private key

◆ setPrivateKeyPath()

void eu.baltrad.beast.security.Authorization.setPrivateKeyPath ( String privateKeyPath)
inline
Parameters
privateKeyPaththe private key path

◆ setPublicKey()

void eu.baltrad.beast.security.Authorization.setPublicKey ( byte[] publicKey)
inline
Parameters
publicKeythe public key

◆ setPublicKeyPath()

void eu.baltrad.beast.security.Authorization.setPublicKeyPath ( String publicKeyPath)
inline
Parameters
publicKeyPaththe public key path

◆ setRedirectedAddress()

void eu.baltrad.beast.security.Authorization.setRedirectedAddress ( String redirectedAddress)
inline
Parameters
redirectedAddressthe redirected address for this authorization

The documentation for this class was generated from the following file: