Class AccessByCloudCertificate

  • All Implemented Interfaces:

    public class AccessByCloudCertificate
    extends java.lang.Object
    implements AccessPolicy
    Same-cloud access policy.

    A consuming system is granted access only if it can present a certificate issued by the same local cloud certificate as the system using this policy.

    Use the method to get an instance of this class.

    • Method Detail

      • isAuthorized

        public boolean isAuthorized​(SystemIdentityDescription consumer,
                                    ArSystem provider,
                                    ServiceDescription service,
                                    java.lang.String token)
        Description copied from interface: AccessPolicy
        Determines whether or not the described system may consume the described service using the given access token, if any.
        Specified by:
        isAuthorized in interface AccessPolicy
        consumer - Description of system attempting to consume the service in question.
        provider - The system providing the consumed service.
        service - Description of service that the consumer attempts to consume.
        token - Access token presented by the consumer, if any.
        true only if consumer is permitted to consume service.