anchor.diff:  # This sample file declared gravitee authentication provider
   # ===================================================================
   security:
  -  type: basic-auth # authentication type
  -  authentication-manager: # required authentication-providers parent attribute
  -    authentication-providers: # required authentication-provider parent attribute
  -      size : 1 # number of authentication-provider to use (in this sample one)
  -      authentication-provider-1: # the authentication provider id must be <= size property
  -      type: gravitee # authentication provider type (possible values : memory, ldap, gravitee)
  -			password-encoding: # enable password encoding (possible values : true or false)
  +  type: basic                       # authentication type
  +  providers:                        # required authentication providers
  +    - type: gravitee                # authentication provider type (possible values : memory, ldap, gravitee)
  +      password-encoding: true       # enable password encoding (possible values : true or false)
   ----
   
   NOTE: If password encoding system is enable the password encoder uses the BCrypt strong hashing function.
  
positive.code: [source,yaml]
  ----
  security:
    type: # authentication type (default to 'basic-auth', possible values : 'basic-auth', 'oauth2-auth')
  ----
  
  NOTE: Based on the authentication type you choose, many properties kick in, especially for the Basic Authentication configuration.
  
negative.code: # This sample file declared oauth2 security configuration
  # ===================================================================
  security:
    type: oauth2 # authentication type
    oauth.endpoint.check_token: # OAuth2 token validation endpoint url
    oauth.client.id: # OAuth2 resource server client id
    oauth.client.secret: # OAut2 resource server client secret
  