| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private CallbackHandler | |
| private int | |
| private String | |
| private static final String | |
| private String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | GssKrb5Server(String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh)
Creates a SASL mechanism with server credentials that it needs to participate in GSS-API/Kerberos v5 authentication exchange with the client. |
| Modifier and Type | Method and Description |
|---|---|
| private byte[] | |
| private byte[] | |
| public byte[] | Returns: A non-null byte array containing the challenge to be sent to the client, or null when no more data is to be sent.A non-null but possible empty byte array containing the
response data from the client. responseData)Implements javax. Processes the response data. |
| public String | getAuthorizationID()
Implements javax. Reports the authorization ID in effect for the client of this session. |
| public Object | getNegotiatedProperty(String propName)
Overrides com. Implements javax. Retrieves the negotiated property. |
| authzid | back to summary |
|---|---|
| private String authzid | |
| cbh | back to summary |
|---|---|
| private CallbackHandler cbh | |
| handshakeStage | back to summary |
|---|---|
| private int handshakeStage | |
| me | back to summary |
|---|---|
| private String me | |
| MY_CLASS_NAME | back to summary |
|---|---|
| private static final String MY_CLASS_NAME | |
| peer | back to summary |
|---|---|
| private String peer | |
| protocolSaved | back to summary |
|---|---|
| private final String protocolSaved | |
| GssKrb5Server | back to summary |
|---|---|
| pack-priv GssKrb5Server(String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh) throws SaslException Creates a SASL mechanism with server credentials that it needs to participate in GSS-API/Kerberos v5 authentication exchange with the client. | |
| doHandshake1 | back to summary |
|---|---|
| private byte[] doHandshake1(byte[] responseData) throws SaslException | |
| doHandshake2 | back to summary |
|---|---|
| private byte[] doHandshake2(byte[] responseData) throws SaslException | |
| evaluateResponse | back to summary |
|---|---|
| public byte[] evaluateResponse(byte[] responseData) throws SaslException Implements javax. Processes the response data. The client sends response data to which the server must process using GSS_accept_sec_context. As per RFC 2222, the GSS authentication completes (GSS_S_COMPLETE) we do an extra hand shake to determine the negotiated security protection and buffer sizes.
| |
| getAuthorizationID | back to summary |
|---|---|
| public String getAuthorizationID() Implements javax. Doc from javax. Reports the authorization ID in effect for the client of this session. This method can only be called if isComplete() returns true. | |
| getNegotiatedProperty | back to summary |
|---|---|
| public Object getNegotiatedProperty(String propName) Overrides com. Implements javax. Doc from javax. Retrieves the negotiated property.
This method can be called only after the authentication exchange has
completed (i.e., when
The | |