expectedCode = 201,
errorCodes = { 403,404,406,409 },
text = { "Add an Identity :id to the list of Admins for the Namespace :ns",
- "Note: :id must be fully qualified (i.e. ab1234@csp.att.com)" }
+ "Note: :id must be fully qualified (i.e. ab1234@people.osaaf.org)" }
)
@Override
public Result<Void> addAdminNS(AuthzTrans trans, String ns, String id) {
expectedCode = 200,
errorCodes = { 403,404 },
text = { "Remove an Identity :id from the list of Admins for the Namespace :ns",
- "Note: :id must be fully qualified (i.e. ab1234@csp.att.com)" }
+ "Note: :id must be fully qualified (i.e. ab1234@people.osaaf.org)" }
)
@Override
public Result<Void> delAdminNS(AuthzTrans trans, String ns, String id) {
expectedCode = 201,
errorCodes = { 403,404,406,409 },
text = { "Add an Identity :id to the list of Responsibles for the Namespace :ns",
- "Note: :id must be fully qualified (i.e. ab1234@csp.att.com)" }
+ "Note: :id must be fully qualified (i.e. ab1234@people.osaaf.org)" }
)
@Override
public Result<Void> addResponsibleNS(AuthzTrans trans, String ns, String id) {
expectedCode = 200,
errorCodes = { 403,404 },
text = { "Remove an Identity :id to the list of Responsibles for the Namespace :ns",
- "Note: :id must be fully qualified (i.e. ab1234@csp.att.com)",
+ "Note: :id must be fully qualified (i.e. ab1234@people.osaaf.org)",
"Note: A namespace must have at least 1 responsible party"
}
)
expectedCode = 200,
errorCodes = { 403,404 },
text = { "Lists all Namespaces where Identity :id is an Admin",
- "Note: :id must be fully qualified (i.e. ab1234@csp.att.com)"
+ "Note: :id must be fully qualified (i.e. ab1234@people.osaaf.org)"
}
)
@Override
expectedCode = 200,
errorCodes = { 403,404 },
text = { "Lists all Namespaces where Identity :id is either an Admin or an Owner",
- "Note: :id must be fully qualified (i.e. ab1234@csp.att.com)"
+ "Note: :id must be fully qualified (i.e. ab1234@people.osaaf.org)"
}
)
@Override
expectedCode = 200,
errorCodes = { 403,404 },
text = { "Lists all Namespaces where Identity :id is a Responsible Party",
- "Note: :id must be fully qualified (i.e. ab1234@csp.att.com)"
+ "Note: :id must be fully qualified (i.e. ab1234@people.osaaf.org)"
}
)
@Override
}
// Look up data
- Result<List<RoleDAO.Data>> rlrd = ques.getRolesByName(trans, role);
+ int query = role.indexOf('?');
+ Result<List<RoleDAO.Data>> rlrd = ques.getRolesByName(trans, query<0?role:role.substring(0, query));
if(rlrd.isOK()) {
// Note: Mapper will restrict what can be viewed
ROLES roles = mapper.newInstance(API.ROLES);