org.exoplatform.services.security.sso.config
Class Config

java.lang.Object
  extended by org.exoplatform.services.security.sso.config.Config

public class Config
extends Object

Version:
$Id: $
Author:
Andrey Parfonov

Field Summary
static String DEFAULT_CHARSET
          Default character set for NTLM messages.
static String HTTP_NEGOTIATE
          Negotiate authentication.
static String HTTP_NTLM
          NTLM authentication.
static byte[] NTLMSSP_SIGNATURE
          NTLMSSP signature : NTLMSSP.
static String SSOAUTHENTICATOR_KEY
          Authenticator key.
 
Method Summary
 String getCharset()
           
 boolean getCrossDomain()
           
 String getDomain()
           
static Config getInstance()
           
 String getJaasContext()
           
 String getLdapServer()
           
 String getRedirectOnError()
           
static String[] getSupportedAuthenticationMechanisms()
           
 String getUserIdAttr()
           
 String getUserURL()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SSOAUTHENTICATOR_KEY

public static final String SSOAUTHENTICATOR_KEY
Authenticator key. With this key authenticator should be stored in HTTPSession.

See Also:
Constant Field Values

NTLMSSP_SIGNATURE

public static final byte[] NTLMSSP_SIGNATURE
NTLMSSP signature : NTLMSSP.


DEFAULT_CHARSET

public static final String DEFAULT_CHARSET
Default character set for NTLM messages.

See Also:
Constant Field Values

HTTP_NEGOTIATE

public static final String HTTP_NEGOTIATE
Negotiate authentication.

See Also:
Constant Field Values

HTTP_NTLM

public static final String HTTP_NTLM
NTLM authentication.

See Also:
Constant Field Values
Method Detail

getInstance

public static Config getInstance()
Returns:
existing instance of Config or create new one.

getSupportedAuthenticationMechanisms

public static String[] getSupportedAuthenticationMechanisms()
Returns:
the array of supported authentication mechanisms.

getDomain

public String getDomain()
Returns:
the Domain Controller name.

getCharset

public String getCharset()
Returns:
the name of character set.

getLdapServer

public String getLdapServer()
Returns:
the ldap server address.

getRedirectOnError

public String getRedirectOnError()
Returns:
the URL for other type of authentication.

getCrossDomain

public boolean getCrossDomain()
Returns:
true is cross domain authentication is enable, false otherwise.

getJaasContext

public String getJaasContext()
Returns:
the JAAS context name.

getUserIdAttr

public String getUserIdAttr()
Returns:
user Id attribute in the LDAP

getUserURL

public String getUserURL()
Returns:
user URL in LDAP context


Copyright © 2009 eXo Platform SAS. All Rights Reserved.