| Modifier and Type | Field and Description |
|---|---|
| private final char | |
| public static final ScramAttributes | |
| public static final ScramAttributes | CHANNEL_BINDING
This REQUIRED attribute specifies the base64-encoded GS2 header and channel binding data. |
| public static final ScramAttributes | CLIENT_PROOF
This attribute specifies a base64-encoded ClientProof. |
| public static final ScramAttributes | ERROR
This attribute specifies an error that occurred during authentication exchange. |
| public static final ScramAttributes | ITERATION
This attribute specifies an iteration count for the selected hash function and user. |
| public static final ScramAttributes | NONCE
This attribute specifies a sequence of random printable ASCII characters excluding ',' (which forms the nonce used as input to the hash function). |
| private static final Map | |
| public static final ScramAttributes | SALT
This attribute specifies the base64-encoded salt used by the server for this user. |
| public static final ScramAttributes | SERVER_SIGNATURE
This attribute specifies a base64-encoded ServerSignature. |
| public static final ScramAttributes |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ScramAttributes | Returns: The SCRAMAttribute that has that character.The character. c)Find a SCRAMAttribute by its character. |
| public char | getChar()
Implements com. |
| public static ScramAttributes | |
| public static ScramAttributes[] |
| attributeChar | back to summary |
|---|---|
| private final char attributeChar | |
| AUTHZID | back to summary |
|---|---|
| public static final ScramAttributes AUTHZID This is an optional attribute, and is part of the GS2 [RFC5801] bridge between the GSS-API and SASL. This attribute specifies an authorization identity. A client may include it in its first message to the server if it wants to authenticate as one user, but subsequently act as a different user. This is typically used by an administrator to perform some management task on behalf of another user, or by a proxy in some situations. If this attribute is omitted (as it normally would be), the authorization identity is assumed to be derived from the username specified with the (required) "n" attribute. The server always authenticates the user specified by the "n" attribute. If the "a" attribute specifies a different user, the server associates that identity with the connection after successful authentication and authorization checks. The syntax of this field is the same as that of the "n" field with respect to quoting of '=' and ','. | |
| CHANNEL_BINDING | back to summary |
|---|---|
| public static final ScramAttributes CHANNEL_BINDING This REQUIRED attribute specifies the base64-encoded GS2 header and channel binding data. The attribute data consist of:
| |
| CLIENT_PROOF | back to summary |
|---|---|
| public static final ScramAttributes CLIENT_PROOF This attribute specifies a base64-encoded ClientProof. | |
| ERROR | back to summary |
|---|---|
| public static final ScramAttributes ERROR This attribute specifies an error that occurred during authentication exchange. Can help diagnose the reason for the authentication exchange failure. | |
| ITERATION | back to summary |
|---|---|
| public static final ScramAttributes ITERATION This attribute specifies an iteration count for the selected hash function and user. | |
| NONCE | back to summary |
|---|---|
| public static final ScramAttributes NONCE This attribute specifies a sequence of random printable ASCII characters excluding ',' (which forms the nonce used as input to the hash function). No quoting is applied to this string. | |
| REVERSE_MAPPING | back to summary |
|---|---|
| private static final Map<Character, ScramAttributes> REVERSE_MAPPING | |
| SALT | back to summary |
|---|---|
| public static final ScramAttributes SALT This attribute specifies the base64-encoded salt used by the server for this user. | |
| SERVER_SIGNATURE | back to summary |
|---|---|
| public static final ScramAttributes SERVER_SIGNATURE This attribute specifies a base64-encoded ServerSignature. | |
| USERNAME | back to summary |
|---|---|
| public static final ScramAttributes USERNAME This attribute specifies the name of the user whose password is used for authentication (a.k.a. "authentication identity" [RFC4422]). If the "a" attribute is not specified (which would normally be the case), this username is also the identity that will be associated with the connection subsequent to authentication and authorization. The client SHOULD prepare the username using the "SASLprep" profile [RFC4013] of the "stringprep" algorithm [RFC3454] treating it as a query string (i.e., unassigned Unicode code points are allowed). The characters ',' or '=' in usernames are sent as '=2C' and '=3D' respectively. | |
| ScramAttributes | back to summary |
|---|---|
| private ScramAttributes(char attributeChar) | |
| byChar | back to summary |
|---|---|
| public static ScramAttributes byChar(char c) throws ScramParseException Find a SCRAMAttribute by its character.
| |
| getChar | back to summary |
|---|---|
| public char getChar() Implements com. Doc from com. Return the char used to represent this attribute
| |
| valueOf | back to summary |
|---|---|
| public static ScramAttributes valueOf(String name) | |
| values | back to summary |
|---|---|
| public static ScramAttributes[] values() | |