Project

General

Profile

Bug #2516

cn.getLogRecords() errors vs. cn-dev

Added by Rob Nahf about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
d1_cn_solr_extensions
Start date:
2012-03-22
Due date:
% Done:

100%

Milestone:
CCI-1.0.0
Product Version:
*
Story Points:
Sprint:

Description

when calling cn.getLogRecords() with session subject set, am getting a ServiceFailure. But the http status code is 200, so the client attempts to deserialize the error xml to the Log datatype. should be 500.

Secondly, the ServiceFailure indicates another problem with the implementation. I believe that the subject lookup is to get a trusted subjectInfo, and think the desired behavior is to allow the subjectInfo to be empty, and proceed without groups and equivalent identities and verified statuses.

the returned content from the call:

<?xml version="1.0" encoding="UTF-8"?>

Problem looking up entry: CN=testRightsHolder,DC=dataone,DC=org : [LDAP: error code 32 - No Such Object]


Subtasks

Task #2517: refactor IdentityManager's CNIdentityLDAPImpl.getSubjectInfo() to throw NotFoundRejectedRob Nahf

Task #2518: refactor SessionAuthorization.doFilter()ClosedRob Nahf

History

#1 Updated by Rob Nahf about 12 years ago

  • Category changed from d1_log_aggregation to d1_cn_solr_extensions
  • Assignee changed from Skye Roseboom to Robert Waltz

#2 Updated by Rob Nahf about 12 years ago

  • Status changed from New to In Progress
  • Assignee changed from Robert Waltz to Rob Nahf

d1_identity_manager
CNIdentityLDAPImpl.getSubjectInfo() doesn't throw NotFound or NotAuthorized exceptions, but simply ServiceFailure. Need to add that exception to throws clause. Will impact other dependent services.

d1_solr_extensions
SessionAuthorizationFilter.doFilter() also doesn't handle the "not found" situation, but instead sends along the ServiceFailure.

#3 Updated by Rob Nahf about 12 years ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)