public final class SASLByteChannel extends Object implements ConnectionSecurityProvider
Modifier and Type | Method and Description |
---|---|
ByteChannel |
getChannel()
Returns the security provider's byte channel.
|
Certificate[] |
getClientCertificateChain()
Return a certificate chain array.
|
String |
getName()
Return the name of a provider.
|
static SASLByteChannel |
getSASLByteChannel(ClientConnection c,
String name,
SASLContext context)
Return a SASL byte channel instance created using the specified parameters.
|
int |
getSSF()
Return a Security Strength Factor.
|
boolean |
isSecure()
Return
true if a provider is secure. |
public static SASLByteChannel getSASLByteChannel(ClientConnection c, String name, SASLContext context)
c
- A client connection associated with the instance.name
- The name of the instance (SASL mechanism name).context
- A SASL context associated with the instance.public ByteChannel getChannel()
getChannel
in interface ConnectionSecurityProvider
public Certificate[] getClientCertificateChain()
getClientCertificateChain
in interface ConnectionSecurityProvider
public String getName()
getName
in interface ConnectionSecurityProvider
public int getSSF()
getSSF
in interface ConnectionSecurityProvider
public boolean isSecure()
true
if a provider is secure.isSecure
in interface ConnectionSecurityProvider
true
if a provider is secure.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.