BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.keystore.controller.AuthorizationController Class Reference

Public Member Functions

String authorizationKeys (Model model, @RequestParam(value="submitButton", required=false) String submitButton)
 
String authorizationRequest (Model model, @RequestParam(value="uuid", required=false) String requestUUID, @RequestParam(value="nodeEmail", required=false) String nodeEmail, @RequestParam(value="nodeAddress", required=false) String nodeAddress, @RequestParam(value="submitButton", required=false) String submitButton)
 
String authorizationEntry (Model model, @RequestParam(value="uuid", required=false) String connectionUUID, @RequestParam(value="nodeEmail", required=false) String email, @RequestParam(value="nodeAddress", required=false) String nodeAddress, @RequestParam(value="authorized", required=false) Boolean authorized, @RequestParam(value="injector", required=false) Boolean injector, @RequestParam(value="submitButton", required=false) String submitButton)
 
String connectWithRemoteHost (Model model, @RequestParam(value="connectionURL", required=false) String connectionURL, @RequestParam(value="message", required=false) String message, @RequestParam(value="submitButton", required=false) String submitButton)
 
void setRequestManager (AuthorizationRequestManager requestManager)
 
void setSecurityManager (ISecurityManager securityManager)
 
void setAuthorizationManager (IAuthorizationManager authorizationManager)
 
void setExchangeManager (IExchangeManager manager)
 
void setUserManager (IUserManager userManager)
 
void setAuthenticator (Authenticator authenticator)
 
void setProtocolManager (ProtocolManager protocolManager)
 
void setModelMessageHelper (ModelMessageHelper messageHelper)
 

Protected Member Functions

String extractBaseUrlFromRedirect (String baseURI, String originURI, String redirectURI)
 
String connectWithRemotePeer (Model model, Authorization auth, String url)
 

Member Function Documentation

◆ authorizationKeys()

String eu.baltrad.dex.keystore.controller.AuthorizationController.authorizationKeys ( Model model,
@RequestParam(value="submitButton", required=false) String submitButton )
inline

Lists all unhandled requests as well as authorizations.

Parameters
modelthe model
submitButtonthe button (Connect)
Returns
the jsp page to direct to

◆ authorizationRequest()

String eu.baltrad.dex.keystore.controller.AuthorizationController.authorizationRequest ( Model model,
@RequestParam(value="uuid", required=false) String requestUUID,
@RequestParam(value="nodeEmail", required=false) String nodeEmail,
@RequestParam(value="nodeAddress", required=false) String nodeAddress,
@RequestParam(value="submitButton", required=false) String submitButton )
inline

Handles authorization requests. Both denial and acceptance and deletion (when request should just be deleted without further processing).

Parameters
modelthe model
requestUUIDthe request uuid
nodeEmail
nodeAddress
submitButton
Returns

◆ connectWithRemoteHost()

String eu.baltrad.dex.keystore.controller.AuthorizationController.connectWithRemoteHost ( Model model,
@RequestParam(value="connectionURL", required=false) String connectionURL,
@RequestParam(value="message", required=false) String message,
@RequestParam(value="submitButton", required=false) String submitButton )
inline

Conflict

◆ setAuthorizationManager()

void eu.baltrad.dex.keystore.controller.AuthorizationController.setAuthorizationManager ( IAuthorizationManager authorizationManager)
inline
Parameters
authorizationManaagerthe authorization manager

◆ setExchangeManager()

void eu.baltrad.dex.keystore.controller.AuthorizationController.setExchangeManager ( IExchangeManager manager)
inline
Parameters
managerthe exchange manager

◆ setRequestManager()

void eu.baltrad.dex.keystore.controller.AuthorizationController.setRequestManager ( AuthorizationRequestManager requestManager)
inline
Parameters
requestManagerthe request manager

◆ setSecurityManager()

void eu.baltrad.dex.keystore.controller.AuthorizationController.setSecurityManager ( ISecurityManager securityManager)
inline
Parameters
securityManagerthe security manager

◆ setUserManager()

void eu.baltrad.dex.keystore.controller.AuthorizationController.setUserManager ( IUserManager userManager)
inline
Parameters
userManagerthe user manager

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