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 Summary
All 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.IJCCPluginService
getPluginComponent, getPluginName, getPriority, loadResource
-
-
-
-
Method Detail
-
getSecurityState
IFuture<JCCSecurityPluginAgent.SecurityState> getSecurityState(IComponentIdentifier cid)
Get security state.- Returns:
- The security state.
-
setUseSecret
IFuture<java.lang.Void> setUseSecret(boolean usesecret, IComponentIdentifier cid)
Set if the platform secret shall be used.- Parameters:
usesecret- The flag.
-
setPrintSecret
IFuture<java.lang.Void> setPrintSecret(boolean printsecret, IComponentIdentifier cid)
Set if the platform secret shall be printed.- Parameters:
printsecret- The flag.
-
addRole
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).- Parameters:
entity- The entity name.role- The role name.- Returns:
- Null, when done.
-
removeRole
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).- Parameters:
entity- The entity name.role- The role name.- Returns:
- Null, when done.
-
addNetwork
IFuture<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.
-
removeNetwork
IFuture<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.
-
addTrustedPlatformName
IFuture<java.lang.Void> addTrustedPlatformName(java.lang.String name, IComponentIdentifier cid)
Adds a trusted platform name.- Parameters:
name- The name.- Returns:
- null, when done.
-
removeTrustedPlatformName
IFuture<java.lang.Void> removeTrustedPlatformName(java.lang.String name, IComponentIdentifier cid)
Removes a trusted platform name.- Parameters:
name- The name.- Returns:
- null, when done.
-
-