Project

General

Profile

Bug #1850

As a MN, Metacat sends ServiceFailure on SSL cert failure

Added by Robert Waltz over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ben Leinfelder
Category:
Metacat
Target version:
-
Start date:
2011-10-11
Due date:
% Done:

100%

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

Description

On line 353 of MNodeService, if session is null, then the create method generates a NullPointer exception.

If line 130 returns a null session in D1ResourceHandler (due to a certificate not found in request), then the mn create method should return a NotAuthorized rather than a ServiceFailure.

History

#1 Updated by Ben Leinfelder over 9 years ago

  • Status changed from New to Closed

How about InvalidToken? -- I think that is more appropriate in this case.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)