Esri Geoportal Server
1.0

com.esri.gpt.framework.security.credentials
Class DistinguishedNameCredential

java.lang.Object
  extended by com.esri.gpt.framework.security.credentials.Credentials
      extended by com.esri.gpt.framework.security.credentials.DistinguishedNameCredential

public class DistinguishedNameCredential
extends Credentials

Stores a distinguished name credential.

The distinguished name is typically used for an LDAP reference.

This credential should not be used in a challenge/response situation. It should only be used when a trusted mechanism has supplied a distinguished name.


Constructor Summary
DistinguishedNameCredential()
          Default constructor.
DistinguishedNameCredential(String distinguishedName)
          Constructs with a supplied distinguished name.
 
Method Summary
 String getDistinguishedName()
          Gets the distinguished name for this user.
 void setDistinguishedName(String name)
          Sets the distinguished name for this user.
 
Methods inherited from class com.esri.gpt.framework.security.credentials.Credentials
getUsernamePasswordCredentials, hasUsernamePasswordCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistinguishedNameCredential

public DistinguishedNameCredential()
Default constructor.


DistinguishedNameCredential

public DistinguishedNameCredential(String distinguishedName)
Constructs with a supplied distinguished name.

Parameters:
distinguishedName - the distinguishedName
Method Detail

getDistinguishedName

public String getDistinguishedName()
Gets the distinguished name for this user.
The distinguished name is typically used for an LDAP reference.

Returns:
the distinguished name

setDistinguishedName

public void setDistinguishedName(String name)
Sets the distinguished name for this user.
The distinguished name is typically used for an LDAP reference.
The name is trimmed and stored in lower-case.

Parameters:
name - the distinguished name

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.