BEAST
eu.baltrad.beast.security.IAuthorizationManager Interface Reference
Inheritance diagram for eu.baltrad.beast.security.IAuthorizationManager:
eu.baltrad.beast.security.AuthorizationManager

Public Member Functions

void add (Authorization auth)
 
void update (Authorization auth)
 
void delete (String uuid)
 Removed the authorization with specified uuid.
 
void updateByNodeName (Authorization auth)
 
Authorization get (String uuid)
 
Authorization getByNodeName (String nodeName)
 Returns the authorization based on node name.
 
Authorization getLocal ()
 
List< Authorizationlist ()
 
AuthorizationRequest createAuthorizationRequest (String message)
 Creates a request from the local authorization and the remote address.
 
AuthorizationRequest toAuthorizationRequest (Authorization authorization, String message)
 Creates a request from an authorization (usually the local authorization) and the remote address.
 

Detailed Description

Author
anders

Member Function Documentation

◆ add()

void eu.baltrad.beast.security.IAuthorizationManager.add ( Authorization auth)
Parameters
auththe authorization to be added

Implemented in eu.baltrad.beast.security.AuthorizationManager.

◆ createAuthorizationRequest()

AuthorizationRequest eu.baltrad.beast.security.IAuthorizationManager.createAuthorizationRequest ( String message)

Creates a request from the local authorization and the remote address.

Parameters
messagethe message to be passed to the target
Returns
the authorization request

Implemented in eu.baltrad.beast.security.AuthorizationManager.

◆ delete()

void eu.baltrad.beast.security.IAuthorizationManager.delete ( String uuid)

Removed the authorization with specified uuid.

Parameters
uuidthe uuid of authorization to be removed

Implemented in eu.baltrad.beast.security.AuthorizationManager.

◆ get()

Authorization eu.baltrad.beast.security.IAuthorizationManager.get ( String uuid)
Parameters
uuidthe uuid of the authorization to be fetched
Returns
the authorization if any found
Exceptions
DataAccessExceptionupon error

Implemented in eu.baltrad.beast.security.AuthorizationManager.

◆ getByNodeName()

Authorization eu.baltrad.beast.security.IAuthorizationManager.getByNodeName ( String nodeName)

Returns the authorization based on node name.

Parameters
nodeNamethe node name
Returns
the authorization if found, otherwise null

Implemented in eu.baltrad.beast.security.AuthorizationManager.

◆ getLocal()

Authorization eu.baltrad.beast.security.IAuthorizationManager.getLocal ( )
Returns
the local authorization entry if any

Implemented in eu.baltrad.beast.security.AuthorizationManager.

◆ list()

List< Authorization > eu.baltrad.beast.security.IAuthorizationManager.list ( )
Returns
a list of authorization entries

Implemented in eu.baltrad.beast.security.AuthorizationManager.

◆ toAuthorizationRequest()

AuthorizationRequest eu.baltrad.beast.security.IAuthorizationManager.toAuthorizationRequest ( Authorization authorization,
String message )

Creates a request from an authorization (usually the local authorization) and the remote address.

Parameters
authorizationthe authorization to be used
messagethe message to be passed to the target
Returns
the authorization request

Implemented in eu.baltrad.beast.security.AuthorizationManager.

◆ update()

void eu.baltrad.beast.security.IAuthorizationManager.update ( Authorization auth)
Parameters
auththe authorization to be updated. The connectionuuid is the primary identifier and will be updated accordingly.

Implemented in eu.baltrad.beast.security.AuthorizationManager.

◆ updateByNodeName()

void eu.baltrad.beast.security.IAuthorizationManager.updateByNodeName ( Authorization auth)
Parameters
auththe authorization to be updated. The node name will be used as identifier.

Implemented in eu.baltrad.beast.security.AuthorizationManager.


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