Skip navigation links

Oracle Virtual Directory Java API Reference
11g Release 1 (11.1.1)

E10688-01


com.octetstring.vde
Class Credentials

java.lang.Object
  extended by com.octetstring.vde.Credentials

All Implemented Interfaces:
java.io.Serializable

public class Credentials
extends java.lang.Object
implements java.io.Serializable

Class holding a session's credentials

See Also:
Serialized Form

Field Summary
static byte AUTH_NONE
           
static byte AUTH_SASL
           
static byte AUTH_SIMPLE
           
static java.util.Map<java.lang.Byte,java.lang.String> authMethods
           

 

Constructor Summary
Credentials()
           
Credentials(DirectoryString bindDN)
           

 

Method Summary
 byte getAuthType()
           
 com.asn1c.core.Int8 getBindStatus()
           
 java.security.cert.Certificate[] getCertificates()
           
 java.lang.String getIPAddress()
           
 com.octetstring.vde.IPAddress getIPAddressObj()
           
 DirectoryString getOrclGuid()
           
 char[] getPwd()
           
 java.lang.String getSaslMech()
           
 javax.security.sasl.SaslServer getSaslServer()
           
 java.lang.Object getSaslTmp()
           
 java.lang.String getSaslTmpDN()
           
 DirectoryString getUser()
           
 boolean isLdap2()
           
 boolean isRoot()
           
 void setAuthType(byte newAuthType)
           
 void setBindStatus(com.asn1c.core.Int8 status)
           
 void setCertificates(java.security.cert.Certificate[] certs)
           
 void setIPAddress(java.lang.String ipAddress)
           
 void setLdap2(boolean ldap2)
           
 void setOrclGuid(DirectoryString orclGuid)
           
 void setPwd(java.lang.String inPwd)
           
 void setRoot(boolean root)
           
 void setSaslMech(java.lang.String newSaslMech)
           
 void setSaslServer(javax.security.sasl.SaslServer srv)
           
 void setSaslTmp(java.lang.Object sasltmp)
           
 void setSaslTmpDN(java.lang.String dn)
           
 void setUnauthenticated()
           
 void setUser(DirectoryString newUser)
           
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

AUTH_NONE

public static final byte AUTH_NONE
See Also:
Constant Field Values

AUTH_SIMPLE

public static final byte AUTH_SIMPLE
See Also:
Constant Field Values

AUTH_SASL

public static final byte AUTH_SASL
See Also:
Constant Field Values

authMethods

public static final java.util.Map<java.lang.Byte,java.lang.String> authMethods

Constructor Detail

Credentials

public Credentials()

Credentials

public Credentials(DirectoryString bindDN)

Method Detail

setUnauthenticated

public void setUnauthenticated()

getAuthType

public byte getAuthType()

setAuthType

public void setAuthType(byte newAuthType)

getSaslMech

public java.lang.String getSaslMech()

setSaslMech

public void setSaslMech(java.lang.String newSaslMech)

getUser

public DirectoryString getUser()

setUser

public void setUser(DirectoryString newUser)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setIPAddress

public void setIPAddress(java.lang.String ipAddress)

getIPAddress

public java.lang.String getIPAddress()

getIPAddressObj

public com.octetstring.vde.IPAddress getIPAddressObj()

setOrclGuid

public void setOrclGuid(DirectoryString orclGuid)

getOrclGuid

public DirectoryString getOrclGuid()

getSaslTmp

public java.lang.Object getSaslTmp()

setSaslTmp

public void setSaslTmp(java.lang.Object sasltmp)

getSaslTmpDN

public java.lang.String getSaslTmpDN()

setSaslTmpDN

public void setSaslTmpDN(java.lang.String dn)

isRoot

public boolean isRoot()

setRoot

public void setRoot(boolean root)

setLdap2

public void setLdap2(boolean ldap2)

isLdap2

public boolean isLdap2()

getCertificates

public java.security.cert.Certificate[] getCertificates()
Returns:
Returns the certs.

setCertificates

public void setCertificates(java.security.cert.Certificate[] certs)
Parameters:
certs - The certs to set.

setSaslServer

public void setSaslServer(javax.security.sasl.SaslServer srv)

getSaslServer

public javax.security.sasl.SaslServer getSaslServer()

setPwd

public void setPwd(java.lang.String inPwd)

getPwd

public char[] getPwd()

setBindStatus

public void setBindStatus(com.asn1c.core.Int8 status)

getBindStatus

public com.asn1c.core.Int8 getBindStatus()

Skip navigation links

Oracle Virtual Directory Java API Reference
11g Release 1 (11.1.1)

E10688-01


Copyright © 2009 Oracle. All Rights Reserved.