com.ibm.broker.rest

Interface SecurityRequirement



  • public interface SecurityRequirement
    An interface that describes a security requirement for an API or for an operation. A security requirement has a name, which refers to a security scheme in the API. For security requirements that refer to an OAuth2 security scheme, the security requirement may also have a set of OAuth2 scopes required for the API or for the operation.
    Since:
    IBM Integration Bus v10.0.0.6
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.String getName()
      Get the name of the security definition that this security requirement refers to.
      java.util.List<java.lang.String> getScopes()
      Get the list of OAuth2 scopes that are required for this security requirement.
    • Method Detail

      • getName

        java.lang.String getName()
        Get the name of the security definition that this security requirement refers to.
        Returns:
        the name of the security definition.
      • getScopes

        java.util.List<java.lang.String> getScopes()
        Get the list of OAuth2 scopes that are required for this security requirement.
        Returns:
        the list of OAuth2 scopes.