public class CNIdentityLDAPImpl extends Object implements org.dataone.service.cn.v1.CNIdentity
Constructor and Description |
---|
CNIdentityLDAPImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkAttribute(String dn,
String attributeName,
String attributeValue) |
boolean |
confirmMapIdentity(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Subject secondarySubject) |
boolean |
confirmMapIdentity(org.dataone.service.types.v1.Subject subject) |
org.dataone.service.types.v1.Subject |
createGroup(org.dataone.service.types.v1.Group group) |
org.dataone.service.types.v1.Subject |
createGroup(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Group group) |
boolean |
denyMapIdentity(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Subject secondarySubject) |
boolean |
denyMapIdentity(org.dataone.service.types.v1.Subject subject) |
String |
getBase() |
org.dataone.service.types.v1.SubjectInfo |
getPendingMapIdentity(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Subject subject) |
org.dataone.service.types.v1.SubjectInfo |
getPendingMapIdentity(org.dataone.service.types.v1.Subject subject) |
String |
getServer() |
org.dataone.service.types.v1.SubjectInfo |
getSubjectInfo(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Subject subject) |
org.dataone.service.types.v1.SubjectInfo |
getSubjectInfo(org.dataone.service.types.v1.Subject subject) |
org.dataone.service.types.v1.SubjectInfo |
listSubjects(org.dataone.service.types.v1.Session session,
String query,
String status,
Integer start,
Integer count) |
org.dataone.service.types.v1.SubjectInfo |
listSubjects(String query,
String status,
Integer start,
Integer count) |
boolean |
mapIdentity(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Subject primarySubject,
org.dataone.service.types.v1.Subject secondarySubject) |
boolean |
mapIdentity(org.dataone.service.types.v1.Subject primarySubject,
org.dataone.service.types.v1.Subject secondarySubject) |
org.dataone.service.types.v1.Subject |
registerAccount(org.dataone.service.types.v1.Person person) |
org.dataone.service.types.v1.Subject |
registerAccount(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Person p) |
boolean |
removeEntry(String dn) |
boolean |
removeMapIdentity(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Subject secondarySubject) |
boolean |
removeMapIdentity(org.dataone.service.types.v1.Subject subject) |
boolean |
removeSubject(org.dataone.service.types.v1.Subject p) |
boolean |
requestMapIdentity(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Subject secondarySubject) |
boolean |
requestMapIdentity(org.dataone.service.types.v1.Subject subject) |
void |
setBase(String base) |
void |
setServer(String server) |
org.dataone.service.types.v1.Subject |
updateAccount(org.dataone.service.types.v1.Person person) |
org.dataone.service.types.v1.Subject |
updateAccount(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Person p) |
boolean |
updateGroup(org.dataone.service.types.v1.Group group) |
boolean |
updateGroup(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Group group) |
boolean |
verifyAccount(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Subject subject) |
boolean |
verifyAccount(org.dataone.service.types.v1.Subject subject) |
public void setServer(String server)
public String getServer()
public void setBase(String base)
public String getBase()
public boolean checkAttribute(String dn, String attributeName, String attributeValue)
public boolean removeEntry(String dn)
public org.dataone.service.types.v1.Subject createGroup(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Group group) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.IdentifierNotUnique, org.dataone.service.exceptions.InvalidRequest
createGroup
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.IdentifierNotUnique
org.dataone.service.exceptions.InvalidRequest
public boolean updateGroup(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Group group) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.InvalidRequest
updateGroup
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidRequest
public boolean mapIdentity(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Subject primarySubject, org.dataone.service.types.v1.Subject secondarySubject) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.InvalidRequest
mapIdentity
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidRequest
public boolean requestMapIdentity(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Subject secondarySubject) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.InvalidRequest
requestMapIdentity
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidRequest
public boolean confirmMapIdentity(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Subject secondarySubject) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented
confirmMapIdentity
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
public org.dataone.service.types.v1.Subject updateAccount(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Person p) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidCredentials, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.NotAuthorized
updateAccount
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidCredentials
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.NotAuthorized
public boolean verifyAccount(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Subject subject) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.InvalidRequest
verifyAccount
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.InvalidRequest
public org.dataone.service.types.v1.Subject registerAccount(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Person p) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.IdentifierNotUnique, org.dataone.service.exceptions.InvalidCredentials, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.InvalidRequest
registerAccount
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.IdentifierNotUnique
org.dataone.service.exceptions.InvalidCredentials
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidRequest
public org.dataone.service.types.v1.SubjectInfo getSubjectInfo(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Subject subject) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.NotFound
getSubjectInfo
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.NotFound
public org.dataone.service.types.v1.SubjectInfo listSubjects(org.dataone.service.types.v1.Session session, String query, String status, Integer start, Integer count) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented
listSubjects
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
public boolean removeSubject(org.dataone.service.types.v1.Subject p)
public boolean denyMapIdentity(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Subject secondarySubject) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented
denyMapIdentity
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
public org.dataone.service.types.v1.SubjectInfo getPendingMapIdentity(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Subject subject) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented
getPendingMapIdentity
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
public boolean removeMapIdentity(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Subject secondarySubject) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented
removeMapIdentity
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
public org.dataone.service.types.v1.Subject registerAccount(org.dataone.service.types.v1.Person person) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.IdentifierNotUnique, org.dataone.service.exceptions.InvalidCredentials, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.InvalidToken
registerAccount
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.IdentifierNotUnique
org.dataone.service.exceptions.InvalidCredentials
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.InvalidToken
public org.dataone.service.types.v1.Subject updateAccount(org.dataone.service.types.v1.Person person) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.InvalidCredentials, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotFound
updateAccount
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.InvalidCredentials
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotFound
public boolean verifyAccount(org.dataone.service.types.v1.Subject subject) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.NotFound
verifyAccount
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.NotFound
public org.dataone.service.types.v1.SubjectInfo getSubjectInfo(org.dataone.service.types.v1.Subject subject) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.InvalidToken
getSubjectInfo
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.InvalidToken
public org.dataone.service.types.v1.SubjectInfo listSubjects(String query, String status, Integer start, Integer count) throws org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented
listSubjects
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
public boolean mapIdentity(org.dataone.service.types.v1.Subject primarySubject, org.dataone.service.types.v1.Subject secondarySubject) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.IdentifierNotUnique
mapIdentity
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.IdentifierNotUnique
public boolean requestMapIdentity(org.dataone.service.types.v1.Subject subject) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.IdentifierNotUnique
requestMapIdentity
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.IdentifierNotUnique
public boolean confirmMapIdentity(org.dataone.service.types.v1.Subject subject) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented
confirmMapIdentity
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
public org.dataone.service.types.v1.SubjectInfo getPendingMapIdentity(org.dataone.service.types.v1.Subject subject) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented
getPendingMapIdentity
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
public boolean denyMapIdentity(org.dataone.service.types.v1.Subject subject) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented
denyMapIdentity
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
public boolean removeMapIdentity(org.dataone.service.types.v1.Subject subject) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented
removeMapIdentity
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
public org.dataone.service.types.v1.Subject createGroup(org.dataone.service.types.v1.Group group) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.IdentifierNotUnique
createGroup
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.IdentifierNotUnique
public boolean updateGroup(org.dataone.service.types.v1.Group group) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.InvalidRequest
updateGroup
in interface org.dataone.service.cn.v1.CNIdentity
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidRequest
Copyright © 2015. All rights reserved.