org.apache.directory.server.annotations
Annotation Type Sasl


@Documented
@Inherited
@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
public @interface Sasl

A annotation used to define the SASL configuration. Many elements can be configured :

Author:
Apache Directory Project

Required Element Summary
 String principal
          The principal
 
Optional Element Summary
 String host
          The SASL host, default to localhost
 Class<?>[] mechanismHandler
          The mechanism handlers.
 String[] qop
          The SASL QOP list
 String[] realms
          The SASL realms
 

Element Detail

principal

public abstract String principal
The principal

host

public abstract String host
The SASL host, default to localhost

Default:
"localhost"

qop

public abstract String[] qop
The SASL QOP list

Default:
{"auth", "auth-int", "auth-conf"}

realms

public abstract String[] realms
The SASL realms

Default:
{}

mechanismHandler

public abstract Class<?>[] mechanismHandler
The mechanism handlers.

Default:
{org.apache.directory.server.ldap.handlers.bind.SimpleMechanismHandler.class, org.apache.directory.server.ldap.handlers.bind.cramMD5.CramMd5MechanismHandler.class, org.apache.directory.server.ldap.handlers.bind.digestMD5.DigestMd5MechanismHandler.class, org.apache.directory.server.ldap.handlers.bind.gssapi.GssapiMechanismHandler.class, org.apache.directory.server.ldap.handlers.bind.ntlm.NtlmMechanismHandler.class}


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.