Class UsherConfigValidation
- java.lang.Object
-
- com.microstrategy.web.app.utils.usher.UsherConfigValidation
-
public class UsherConfigValidation extends java.lang.Object
Sets up Usher configuration for a given Intelligence Server metadata. The validation checks the Usher server, AppID, OrgID and security token to ensures invalid parameters will not be saved.
-
-
Constructor Summary
Constructors Constructor Description UsherConfigValidation(AppContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validateUsherConfig(java.lang.String url, java.lang.String appId)
Validate Usher configuration just for the server url and app Id to ensure that we can get QR code.void
validateUsherConfig(java.lang.String url, java.lang.String orgId, java.lang.String appId, java.lang.String token)
Validates Usher configuration settings.
-
-
-
Constructor Detail
-
UsherConfigValidation
public UsherConfigValidation(AppContext context)
-
-
Method Detail
-
validateUsherConfig
public void validateUsherConfig(java.lang.String url, java.lang.String orgId, java.lang.String appId, java.lang.String token) throws UsherConnectionException
Validates Usher configuration settings. An Usher Network Manager badge administrator will obtain these settings and configure them here - this will link the underlying Intelligence Server's metadata (and hence all Intelligence Servers that utilize the metadata) to the Usher badge.- Parameters:
url
- URL of the Usher Server.orgId
- The OrgID valueappId
- The AppID valuetoken
- The security token value- Throws:
UsherConnectionException
-
validateUsherConfig
public void validateUsherConfig(java.lang.String url, java.lang.String appId) throws UsherConnectionException
Validate Usher configuration just for the server url and app Id to ensure that we can get QR code.- Parameters:
url
- The URL of the Usher ServerappId
- The AppID value- Throws:
UsherConnectionException
-
-