コード例 #1
0
 private PermissionTicket getPermissionTicket(UmaTokenStore umaTokenStore, JsonValue requestBody)
     throws BadRequestException, UmaException {
   try {
     return umaTokenStore.readPermissionTicket(getTicketId(requestBody));
   } catch (NotFoundException e) {
     throw new UmaException(
         400, UmaConstants.INVALID_TICKET_ERROR_CODE, UNABLE_TO_RETRIEVE_TICKET_MESSAGE);
   }
 }