66767d9e1e
2. Add keycloak admin client, to fetch as admin from keycloak 3. Add /auth endpoint, that will parse the request, and decide for auth
15 lines
372 B
Java
15 lines
372 B
Java
package com.cleverthis.authservice.exception;
|
|
|
|
|
|
/**
|
|
* Custom exception for errors during permission checks.
|
|
*/
|
|
public class PermissionCheckException extends RuntimeException {
|
|
public PermissionCheckException(String message) {
|
|
super(message);
|
|
}
|
|
|
|
public PermissionCheckException(String message, Throwable cause) {
|
|
super(message, cause);
|
|
}
|
|
} |