gs2-header = gs2-cbind-flag "," [ authzid ] ","
gs2-cbind-flag = ("p=" cb-name) / "n" / "y"
authzid = "a=" saslname
Current implementation does not support channel binding.
If p is used as the cbind flag, the cb-name value is not validated.
| Modifier and Type | Field and Description |
|---|---|
| private final Gs2AttributeValue | |
| private final Gs2AttributeValue |
| Access | Constructor and Description |
|---|---|
| public | Gs2Header(Gs2CbindFlag
The channel binding flag cbindFlag, String The channel-binding name. Should be not null iif channel binding is required cbName, String The optional SASL authorization identity authzid)Construct and validates a Gs2Header. |
| public | Gs2Header(Gs2CbindFlag
The channel binding flag cbindFlag, String The channel-binding name. Should be not null iif channel binding is required cbName)Construct and validates a Gs2Header with no authzid. |
| public | Gs2Header(Gs2CbindFlag
The channel binding flag cbindFlag)Construct and validates a Gs2Header with no authzid nor channel binding. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public Gs2CbindFlag | |
| public String | |
| public static Gs2Header | |
| public StringBuffer | writeTo(StringBuffer
Where to write the data. sb)Implements com. |
| authzid | back to summary |
|---|---|
| private final Gs2AttributeValue authzid | |
| cbind | back to summary |
|---|---|
| private final Gs2AttributeValue cbind | |
| Gs2Header | back to summary |
|---|---|
| public Gs2Header(Gs2CbindFlag cbindFlag, String cbName, String authzid) throws IllegalArgumentException Construct and validates a Gs2Header. Only provide the channel binding name if the channel binding flag is set to required.
| |
| Gs2Header | back to summary |
|---|---|
| public Gs2Header(Gs2CbindFlag cbindFlag, String cbName) throws IllegalArgumentException Construct and validates a Gs2Header with no authzid. Only provide the channel binding name if the channel binding flag is set to required.
| |
| Gs2Header | back to summary |
|---|---|
| public Gs2Header(Gs2CbindFlag cbindFlag) Construct and validates a Gs2Header with no authzid nor channel binding.
| |
| getAuthzid | back to summary |
|---|---|
| public String getAuthzid() | |
| getChannelBindingFlag | back to summary |
|---|---|
| public Gs2CbindFlag getChannelBindingFlag() | |
| getChannelBindingName | back to summary |
|---|---|
| public String getChannelBindingName() | |
| parseFrom | back to summary |
|---|---|
| public static Gs2Header parseFrom(String message) throws IllegalArgumentException Read a Gs2Header from a String. String may contain trailing fields that will be ignored.
| |
| writeTo | back to summary |
|---|---|
| public StringBuffer writeTo(StringBuffer sb) Implements com. Doc from com. Write the class information to the given StringBuffer.
| |