Are you sure about "String... "? I thing it is bad solution in this case, the main reason is that isUserInRole should work fast, but it doesn't cause of varargs.  To ensure about it you can read "Item 42" of "Effective Java 2nd edition", or view how guys do the [same](https://github.com/qos-ch/slf4j/blob/master/slf4j-simple/src/main/java/org/slf4j/impl/SimpleLogger.java#L504)