|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsdsi.ldap.LDAPAttributes jsdsi.ldap.LDAPOp
LDAP composed operations used by jsdsi.ldap.LDAPOperations
LDAPOperations
Constructor Summary | |
(package private) |
LDAPOp(LDAPParameters params)
Create a new instance of LDAPOp |
Method Summary | |
(package private) static java.lang.String |
getCanonicalSexp()
canonicalSexp attribute |
(package private) static java.lang.String |
getCn()
cn attribute |
(package private) static java.lang.String |
getIssuer()
issuer attribute |
(package private) static java.lang.String |
getIssuerName()
issuerName attribute |
(package private) static java.lang.String |
getNotAfter()
notAfter attribute |
LDAPParameters |
getParameters()
Ldap parameters used to perform operations |
(package private) static java.lang.String |
getSubject()
subject attribute |
(package private) static java.lang.String |
getSubjectName()
subjectName attribute |
(package private) void |
LDAPBindConnection()
Ldap connection using user name and password |
(package private) void |
LDAPConnection()
Ldap connection |
(package private) void |
LDAPDelete(java.lang.String composedAttribute)
Ldap delete |
(package private) void |
LDAPDisconnection()
Ldap disconnection |
(package private) com.novell.ldap.LDAPSearchResults |
LDAPSearch(java.lang.String filter,
int searchScope,
java.lang.String[] attributes)
Make generic ldap searchs |
(package private) com.novell.ldap.LDAPSearchResults |
LDAPSearch(java.lang.String filter,
java.lang.String composedAttribute,
int searchScope,
java.lang.String[] attributes)
Make ldap searchs with a specified ldap schema composed attribute |
(package private) void |
LDAPStore(java.lang.String composedAttribute,
com.novell.ldap.LDAPAttributeSet attributeSet)
Adds elements to the ldap server |
(package private) static java.lang.String |
setAuthFilter(Principal principal,
java.lang.String hashAlg)
Create a auth filter from a principal issuer and an hash algorithm |
(package private) static java.lang.String |
setCn(java.lang.String commonName)
Set a composed string with the cn attribute |
(package private) static java.lang.String |
setCompatibleFilter(Subject principal,
java.lang.String name,
java.lang.String hashAlg)
Create a compatible filter from a subject issuer a name and an hash algorithm |
(package private) static java.lang.String |
setNameFilter(Principal principal,
java.lang.String name,
java.lang.String hashAlg)
Create a name filter from a principal issuer a name and an hash algorithm |
(package private) static java.lang.String |
setSubjectFilter(Subject principal,
java.lang.String hashAlg)
Create a subject filter from subject issuer and an hash algorithm |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
LDAPOp(LDAPParameters params)
params
- ldap parametersMethod Detail |
void LDAPConnection() throws com.novell.ldap.LDAPException
com.novell.ldap.LDAPException
void LDAPBindConnection() throws com.novell.ldap.LDAPException
com.novell.ldap.LDAPException
void LDAPDisconnection() throws com.novell.ldap.LDAPException
com.novell.ldap.LDAPException
void LDAPDelete(java.lang.String composedAttribute) throws com.novell.ldap.LDAPException
composedAttribute
- composed attribute to delete
com.novell.ldap.LDAPException
void LDAPStore(java.lang.String composedAttribute, com.novell.ldap.LDAPAttributeSet attributeSet) throws com.novell.ldap.LDAPException
composedAttribute
- composed attribute that identifies the elementattributeSet
- set of attributes to store
com.novell.ldap.LDAPException
com.novell.ldap.LDAPSearchResults LDAPSearch(java.lang.String filter, java.lang.String composedAttribute, int searchScope, java.lang.String[] attributes) throws com.novell.ldap.LDAPException
filter
- ldap search filtercomposedAttribute
- ldap schema composed attributesearchScope
- search scope - BASE, SUB, ONEattributes
- attribute values to return
com.novell.ldap.LDAPException
com.novell.ldap.LDAPSearchResults LDAPSearch(java.lang.String filter, int searchScope, java.lang.String[] attributes) throws com.novell.ldap.LDAPException
filter
- ldap search filtersearchScope
- search scope - BASE, SUB, ONEattributes
- attribute values to return
com.novell.ldap.LDAPException
public LDAPParameters getParameters()
static java.lang.String setCn(java.lang.String commonName)
commonName
- cn ldap schema attribute that identifies the certificate
static java.lang.String setSubjectFilter(Subject principal, java.lang.String hashAlg)
principal
- principal of a subjecthashAlg
- hash algorithm
static java.lang.String setAuthFilter(Principal principal, java.lang.String hashAlg)
principal
- principal of a issuerhashAlg
- hash algorithm
static java.lang.String setNameFilter(Principal principal, java.lang.String name, java.lang.String hashAlg)
principal
- principal of a issuername
- issuer namehashAlg
- hash algorithm
static java.lang.String setCompatibleFilter(Subject principal, java.lang.String name, java.lang.String hashAlg) throws java.security.cert.CertStoreException
principal
- principal of a subjectname
- subject namehashAlg
- hash algorithm
java.security.cert.CertStoreException
static java.lang.String getCn()
static java.lang.String getCanonicalSexp()
static java.lang.String getIssuer()
static java.lang.String getSubject()
static java.lang.String getIssuerName()
static java.lang.String getSubjectName()
static java.lang.String getNotAfter()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |