Package com.vmware.nsx_policy.model
Class LBJwtAuthAction.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LBJwtAuthAction.Builder
-
- Enclosing class:
- LBJwtAuthAction
public static final class LBJwtAuthAction.Builder extends java.lang.Object
Builder class forLBJwtAuthAction
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLBJwtAuthAction
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LBJwtAuthAction
build()
LBJwtAuthAction.Builder
setKey(com.vmware.vapi.bindings.Structure key)
LBJwtAuthAction.Builder
setPassJwtToPool(java.lang.Boolean passJwtToPool)
Specify whether to pass the JWT to backend server or remove it.LBJwtAuthAction.Builder
setRealm(java.lang.String realm)
A description of the protected area.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.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLBJwtAuthAction
.
-
-
Method Detail
-
setKey
public LBJwtAuthAction.Builder setKey(com.vmware.vapi.bindings.Structure key)
-
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.
-
build
public LBJwtAuthAction build()
-
-