public class SaslServerContext extends Object implements SaslContext
| Constructor and Description |
|---|
SaslServerContext(SaslServerFactory saslServerFactory,
String mech,
String serverName,
CallbackHandler callback_handler,
Map<String,String> props,
Subject subject) |
| Modifier and Type | Method and Description |
|---|---|
void |
awaitCompletion(long timeout) |
void |
dispose() |
String |
getAuthorizationID() |
boolean |
isSuccessful() |
boolean |
needsWrapping() |
Message |
nextMessage(Address address,
SaslHeader header) |
byte[] |
unwrap(byte[] incoming,
int offset,
int len) |
byte[] |
wrap(byte[] outgoing,
int offset,
int len) |
public SaslServerContext(SaslServerFactory saslServerFactory, String mech, String serverName, CallbackHandler callback_handler, Map<String,String> props, Subject subject) throws SaslException
SaslExceptionpublic boolean isSuccessful()
isSuccessful in interface SaslContextpublic boolean needsWrapping()
needsWrapping in interface SaslContextpublic byte[] wrap(byte[] outgoing,
int offset,
int len)
throws SaslException
wrap in interface SaslContextSaslExceptionpublic byte[] unwrap(byte[] incoming,
int offset,
int len)
throws SaslException
unwrap in interface SaslContextSaslExceptionpublic Message nextMessage(Address address, SaslHeader header) throws SaslException
nextMessage in interface SaslContextSaslExceptionpublic void awaitCompletion(long timeout)
throws InterruptedException
InterruptedExceptionpublic String getAuthorizationID()
public void dispose()
dispose in interface SaslContextCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.