/** * This method returns the set of roles already associated with the caller. * * Note: This is the realm mapping of roles and does not automatically mean that these roles will be used for management * access control decisions. * * @return The {@link Set} of associated roles or an empty set if none. */ public Set<String> getAssociatedRoles() { return getAssociatedGroups(); }
/** * This method returns the set of roles already associated with the caller. * * Note: This is the realm mapping of roles and does not automatically mean that these roles will be used for management * access control decisions. * * @return The {@link Set} of associated roles or an empty set if none. */ public Set<String> getAssociatedRoles() { return getAssociatedGroups(); }
private Set<String> getGroups(final Caller caller, final Set<String> currentValue) { return currentValue != null ? currentValue : caller.getAssociatedGroups(); }
private Set<String> getGroups(final Caller caller, final Set<String> currentValue) { return currentValue != null ? currentValue : caller.getAssociatedGroups(); }
private Set<String> getGroups(final Caller caller, final Set<String> currentValue) { return currentValue != null ? currentValue : caller.getAssociatedGroups(); }