Package jadex.tools.web.security
Interface IJCCSecurityService
- 
- All Superinterfaces:
- IJCCPluginService
 - All Known Implementing Classes:
- JCCSecurityPluginAgent
 
 public interface IJCCSecurityService extends IJCCPluginService Interface for the jcc security service.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description IFuture<java.lang.Void>addNetwork(java.lang.String networkname, java.lang.String secret, IComponentIdentifier cid)Adds a new network.IFuture<java.lang.Void>addRole(java.lang.String entity, java.lang.String role, IComponentIdentifier cid)Adds a role for an entity (platform or network name).IFuture<java.lang.Void>addTrustedPlatformName(java.lang.String name, IComponentIdentifier cid)Adds a trusted platform name.IFuture<JCCSecurityPluginAgent.SecurityState>getSecurityState(IComponentIdentifier cid)Get security state.IFuture<java.lang.Void>removeNetwork(java.lang.String networkname, java.lang.String secret, IComponentIdentifier cid)Remove a network.IFuture<java.lang.Void>removeRole(java.lang.String entity, java.lang.String role, IComponentIdentifier cid)Adds a role of an entity (platform or network name).IFuture<java.lang.Void>removeTrustedPlatformName(java.lang.String name, IComponentIdentifier cid)Removes a trusted platform name.IFuture<java.lang.Void>setPrintSecret(boolean printsecret, IComponentIdentifier cid)Set if the platform secret shall be printed.IFuture<java.lang.Void>setUseSecret(boolean usesecret, IComponentIdentifier cid)Set if the platform secret shall be used.- 
Methods inherited from interface jadex.tools.web.jcc.IJCCPluginServicegetPluginComponent, getPluginName, getPriority, loadResource
 
- 
 
- 
- 
- 
Method Detail- 
getSecurityStateIFuture<JCCSecurityPluginAgent.SecurityState> getSecurityState(IComponentIdentifier cid) Get security state.- Returns:
- The security state.
 
 - 
setUseSecretIFuture<java.lang.Void> setUseSecret(boolean usesecret, IComponentIdentifier cid) Set if the platform secret shall be used.- Parameters:
- usesecret- The flag.
 
 - 
setPrintSecretIFuture<java.lang.Void> setPrintSecret(boolean printsecret, IComponentIdentifier cid) Set if the platform secret shall be printed.- Parameters:
- printsecret- The flag.
 
 - 
addRoleIFuture<java.lang.Void> addRole(java.lang.String entity, java.lang.String role, IComponentIdentifier cid) Adds a role for an entity (platform or network name).- Parameters:
- entity- The entity name.
- role- The role name.
- Returns:
- Null, when done.
 
 - 
removeRoleIFuture<java.lang.Void> removeRole(java.lang.String entity, java.lang.String role, IComponentIdentifier cid) Adds a role of an entity (platform or network name).- Parameters:
- entity- The entity name.
- role- The role name.
- Returns:
- Null, when done.
 
 - 
addNetworkIFuture<java.lang.Void> addNetwork(java.lang.String networkname, java.lang.String secret, IComponentIdentifier cid) Adds a new network.- Parameters:
- networkname- The network name.
- secret- The secret, null to remove.
- Returns:
- Null, when done.
 
 - 
removeNetworkIFuture<java.lang.Void> removeNetwork(java.lang.String networkname, java.lang.String secret, IComponentIdentifier cid) Remove a network.- Parameters:
- networkname- The network name.
- secret- The secret, null to remove the network completely.
- Returns:
- Null, when done.
 
 - 
addTrustedPlatformNameIFuture<java.lang.Void> addTrustedPlatformName(java.lang.String name, IComponentIdentifier cid) Adds a trusted platform name.- Parameters:
- name- The name.
- Returns:
- null, when done.
 
 - 
removeTrustedPlatformNameIFuture<java.lang.Void> removeTrustedPlatformName(java.lang.String name, IComponentIdentifier cid) Removes a trusted platform name.- Parameters:
- name- The name.
- Returns:
- null, when done.
 
 
- 
 
-