Top Description Fields Constructors Methods
com.ongres.scram.common.gssapi

public final Enum Gs2Attributes

extends Enum<Gs2Attributes>
implements CharAttribute
Class Inheritance
All Implemented Interfaces
com.ongres.scram.common.util.CharAttribute
Imports
com.ongres.scram.common.ScramAttributes, com.ongres.scram.common.util.CharAttribute

Possible values of a GS2 Attribute.
See Also
[RFC5802] Formal Syntax

Field Summary

Modifier and TypeField and Description
public static final Gs2Attributes
AUTHZID

SCRAM attribute.

public static final Gs2Attributes
CHANNEL_BINDING_REQUIRED

Channel binding attribute.

public static final Gs2Attributes
CLIENT_NOT

Channel binding attribute.

public static final Gs2Attributes
CLIENT_YES_SERVER_NOT

Channel binding attribute.

private final char

Constructor Summary

AccessConstructor and Description
private
Gs2Attributes(char flag)

Method Summary

Modifier and TypeMethod and Description
public static Gs2Attributes
byChar(char c)

public static Gs2Attributes
public char
getChar()

Implements com.ongres.scram.common.util.CharAttribute.getChar.

Return the char used to represent this attribute
public static Gs2Attributes
public static Gs2Attributes[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

AUTHZIDback to summary
public static final Gs2Attributes AUTHZID

SCRAM attribute. This attribute specifies an authorization identity.

CHANNEL_BINDING_REQUIREDback to summary
public static final Gs2Attributes CHANNEL_BINDING_REQUIRED

Channel binding attribute. Client requires channel binding. The selected channel binding follows "p=".

CLIENT_NOTback to summary
public static final Gs2Attributes CLIENT_NOT

Channel binding attribute. Client doesn't support channel binding.

CLIENT_YES_SERVER_NOTback to summary
public static final Gs2Attributes CLIENT_YES_SERVER_NOT

Channel binding attribute. Client does support channel binding but thinks the server does not.

flagback to summary
private final char flag

Constructor Detail

Gs2Attributesback to summary
private Gs2Attributes(char flag)

Method Detail

byCharback to summary
public static Gs2Attributes byChar(char c)
byGS2CbindFlagback to summary
public static Gs2Attributes byGS2CbindFlag(Gs2CbindFlag cbindFlag)
getCharback to summary
public char getChar()

Implements com.ongres.scram.common.util.CharAttribute.getChar.

Doc from com.ongres.scram.common.util.CharAttribute.getChar.

Return the char used to represent this attribute

Returns:char

The character of the attribute

Annotations
@Override
valueOfback to summary
public static Gs2Attributes valueOf(String name)
valuesback to summary
public static Gs2Attributes[] values()