156157158159160161162163164
lastException = e; } } if ( lastException != null && allFailed ) { throw new RbacManagerException( lastException.getMessage(), lastException ); } return role; }
184185186187188189190191
lastException = e; } } if ( lastException != null && allFailed ) { throw new RbacManagerException( lastException.getMessage(), lastException ); } }
219220221222223224225226227
} } log.debug( "cannot find role for name: ‘{}", roleName ); if ( lastException != null ) { throw new RbacManagerException( lastException.getMessage(), lastException ); } return null; }
250251252253254255256257258259
} } if ( lastException != null && allFailed ) { throw new RbacManagerException( lastException.getMessage(), lastException ); } return new ArrayList<>( allRoles.values() ); }
278279280281282283284285
} } if ( lastException != null && allFailed ) { throw new RbacManagerException( lastException.getMessage(), lastException ); } }
320321322323324325326327328329
} } if ( lastException != null && allFailed ) { throw new RbacManagerException( lastException.getMessage(), lastException ); } return permission; }
357358359360361362363364365
} } if ( lastException != null ) { throw new RbacManagerException( lastException.getMessage(), lastException ); } return null; }
388389390391392393394395396
} } if ( lastException != null && allFailed ) { throw new RbacManagerException( lastException.getMessage(), lastException ); } return new ArrayList<>( allPermissions.values() ); }
415416417418419420421422
450451452453454455456457458
} } if ( lastException != null && allFailed ) { throw new RbacManagerException( lastException.getMessage(), lastException ); } return operation; }