Authenticating a server with message signing.
More...
|
static Logger | log = LogManager.getLogger( ServerAuthenticator.class ) |
|
static Map< Integer, byte[]> | authenticatingServers = new ConcurrentHashMap<>() |
| Servers currently doing authentication. More...
|
|
Authenticating a server with message signing.
Definition at line 19 of file ServerAuthenticator.java.
static void org.openslx.imagemaster.serversession.ServerAuthenticator.serverAuthenticate |
( |
LocalSatellite |
satellite, |
|
|
ByteBuffer |
challengeResponse |
|
) |
| throws TAuthorizationException |
|
static |
Authenticate with the challengeResponse.
- Parameters
-
organizationId | Is already verified. |
address | |
challengeResponse | |
- Exceptions
-
ServerAuthenticationException | |
TException | |
Definition at line 55 of file ServerAuthenticator.java.
static ByteBuffer org.openslx.imagemaster.serversession.ServerAuthenticator.startServerAuthentication |
( |
int |
satelliteId | ) |
|
|
static |
Start the server authentification.
- Parameters
-
satelliteId | the organization of the server |
- Returns
- encrypted random string
Definition at line 36 of file ServerAuthenticator.java.
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 |
The documentation for this class was generated from the following file: