bwLehrpool Masterserver
Manages authentication and sharing of virtual machines between participating institutions
Static Public Member Functions | Static Private Attributes | List of all members
org.openslx.imagemaster.serversession.ServerAuthenticator Class Reference

Authenticating a server with message signing. More...

+ Collaboration diagram for org.openslx.imagemaster.serversession.ServerAuthenticator:

Static Public Member Functions

static ByteBuffer startServerAuthentication (int satelliteId)
 Start the server authentification. More...
 
static void serverAuthenticate (LocalSatellite satellite, ByteBuffer challengeResponse) throws TAuthorizationException
 Authenticate with the challengeResponse. More...
 

Static Private Attributes

static Logger log = LogManager.getLogger( ServerAuthenticator.class )
 
static Map< Integer, byte[]> authenticatingServers = new ConcurrentHashMap<>()
 Servers currently doing authentication. More...
 

Detailed Description

Authenticating a server with message signing.

Definition at line 19 of file ServerAuthenticator.java.

Member Function Documentation

static void org.openslx.imagemaster.serversession.ServerAuthenticator.serverAuthenticate ( LocalSatellite  satellite,
ByteBuffer  challengeResponse 
) throws TAuthorizationException
static

Authenticate with the challengeResponse.

Parameters
organizationIdIs already verified.
address
challengeResponse
Exceptions
ServerAuthenticationException
TException

Definition at line 55 of file ServerAuthenticator.java.

+ Here is the caller graph for this function:

static ByteBuffer org.openslx.imagemaster.serversession.ServerAuthenticator.startServerAuthentication ( int  satelliteId)
static

Start the server authentification.

Parameters
satelliteIdthe organization of the server
Returns
encrypted random string

Definition at line 36 of file ServerAuthenticator.java.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

Map<Integer, byte[]> org.openslx.imagemaster.serversession.ServerAuthenticator.authenticatingServers = new ConcurrentHashMap<>()
staticprivate

Servers currently doing authentication.

Maps from organization to the challenge we sent.

Definition at line 27 of file ServerAuthenticator.java.

Logger org.openslx.imagemaster.serversession.ServerAuthenticator.log = LogManager.getLogger( ServerAuthenticator.class )
staticprivate

Definition at line 22 of file ServerAuthenticator.java.


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