| Summary: | BasePIP throws AttributeException | ||
|---|---|---|---|
| Product: | GridShib | Reporter: | Tom Scavo <trscavo@gmail.com> |
| Component: | GT plugin | Assignee: | Tom Scavo <trscavo@gmail.com> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | CC: | gridshib-dev@globus.org |
| Priority: | P3 | ||
| Version: | 0.6 | ||
| Target Milestone: | beta | ||
| Hardware: | All | ||
| OS: | All | ||
| Bug Depends on: | |||
| Bug Blocks: | 6167 | ||
Here's the patch. BasePIP throws an AttributeException ONLY IF the impl throws
an IllegalArgumentException (which it does if any of the arguments passed to it
by the authz framework are unexpected):
try {
pipImpl().collectAttributes(peerSubject, context);
} catch (IllegalArgumentException e) {
throw new AttributeException("Illegal argument", e);
} catch (Exception e) {
String msg = "PIP attribute collection failed";
logger.error(msg, e);
}