Class LBJwtAuthAction.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of LBJwtAuthAction.
    • Method Detail

      • setKey

        public LBJwtAuthAction.Builder setKey​(com.vmware.vapi.bindings.Structure key)
        Parameters:
        key - New value for the property. When clients pass a value of this class as a parameter, the property must contain all the properties defined in LBJwtKey. When methods return a value of this class as a return value, the property will contain all the properties defined in LBJwtKey.
      • setPassJwtToPool

        public LBJwtAuthAction.Builder setPassJwtToPool​(java.lang.Boolean passJwtToPool)
        Specify whether to pass the JWT to backend server or remove it. By default, it is false which means will not pass the JWT to backend servers.
        Parameters:
        passJwtToPool - New value for the property.
      • setRealm

        public LBJwtAuthAction.Builder setRealm​(java.lang.String realm)
        A description of the protected area. If no realm is specified, clients often display a formatted hostname instead. The configured realm is returned when client request is rejected with 401 http status. In the response, it will be \"WWW-Authentication: Bearer realm=\".
        Parameters:
        realm - New value for the property.
      • setTokens

        public LBJwtAuthAction.Builder setTokens​(java.util.List<java.lang.String> tokens)
        JWT is an open standard that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. Load balancer will search for every specified tokens one by one for the jwt message until found. This parameter is optional. In case not found or this field is not configured, load balancer searches the Bearer header by default in the http request \"Authorization: Bearer \".
        Parameters:
        tokens - New value for the property.