org.ldaptive.sasl
Class SaslConfig

java.lang.Object
  extended by org.ldaptive.AbstractConfig
      extended by org.ldaptive.sasl.SaslConfig
Direct Known Subclasses:
CramMd5Config, DigestMd5Config, ExternalConfig, GssApiConfig

public class SaslConfig
extends AbstractConfig

Contains all the configuration data for SASL authentication.

Version:
$Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
Author:
Middleware Services

Field Summary
 
Fields inherited from class org.ldaptive.AbstractConfig
logger
 
Constructor Summary
SaslConfig()
           
 
Method Summary
 String getAuthorizationId()
          Returns the sasl authorization id.
 Mechanism getMechanism()
          Returns the sasl mechanism.
 Boolean getMutualAuthentication()
          Returns whether mutual authentication should occur.
 QualityOfProtection getQualityOfProtection()
          Returns the sasl quality of protection.
 SecurityStrength getSecurityStrength()
          Returns the sasl security strength.
 void setAuthorizationId(String id)
          Sets the sasl authorization id.
 void setMechanism(Mechanism m)
          Sets the sasl mechanism.
 void setMutualAuthentication(Boolean b)
          Sets whether mutual authentication should occur.
 void setQualityOfProtection(QualityOfProtection qop)
          Sets the sasl quality of protection.
 void setSecurityStrength(SecurityStrength ss)
          Sets the sasl security strength.
 String toString()
          
 
Methods inherited from class org.ldaptive.AbstractConfig
checkImmutable, checkStringInput, makeImmutable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SaslConfig

public SaslConfig()
Method Detail

getMechanism

public Mechanism getMechanism()
Returns the sasl mechanism.

Returns:
mechanism

setMechanism

public void setMechanism(Mechanism m)
Sets the sasl mechanism.

Parameters:
m - mechanism

getAuthorizationId

public String getAuthorizationId()
Returns the sasl authorization id.

Returns:
authorization id

setAuthorizationId

public void setAuthorizationId(String id)
Sets the sasl authorization id.

Parameters:
id - authorization id

getMutualAuthentication

public Boolean getMutualAuthentication()
Returns whether mutual authentication should occur.

Returns:
whether mutual authentication should occur

setMutualAuthentication

public void setMutualAuthentication(Boolean b)
Sets whether mutual authentication should occur.

Parameters:
b - whether mutual authentication should occur

getQualityOfProtection

public QualityOfProtection getQualityOfProtection()
Returns the sasl quality of protection.

Returns:
quality of protection

setQualityOfProtection

public void setQualityOfProtection(QualityOfProtection qop)
Sets the sasl quality of protection.

Parameters:
qop - quality of protection

getSecurityStrength

public SecurityStrength getSecurityStrength()
Returns the sasl security strength.

Returns:
security strength

setSecurityStrength

public void setSecurityStrength(SecurityStrength ss)
Sets the sasl security strength.

Parameters:
ss - security strength

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2003-2015 Virginia Tech. All Rights Reserved.