Interface IJCCSecurityService

    • Method Detail

      • 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.