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 :

Version:
$Rev$, $Date$
Author:
Apache Directory Project

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

Element Detail

principal

public abstract java.lang.String principal
The principal

host

public abstract java.lang.String host
The SASL host, default to localhost

Default:
"localhost"

qop

public abstract java.lang.String[] qop
The SASL QOP list

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

realms

public abstract java.lang.String[] realms
The SASL realms

Default:
{}

mechanismHandler

public abstract java.lang.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-2011 Apache Software Foundation. All Rights Reserved.