public static RuntimeException required() {
        return new UnauthorizedServiceException(CODE_REQUIRED_SERVICE, CODE_REQUIRED_SERVICE);
    }
Required exception.

@return the runtime exception
api/cas-server-core-api-services/src/main/java/org/apereo/cas/services/UnauthorizedServiceException.java