Authorized classes are registered when creating the ByteBuddy proxies.
It should only be used when the Security Manager is enabled.
| Modifier and Type | Class and Description |
|---|---|
| private static class | HibernateMethodLookupDispatcher.StackWalkerGetCallerStackAction
A privileged action that retrieves the caller stack using a stack walker. |
| Modifier and Type | Field and Description |
|---|---|
| private static Set | |
| private static final PrivilegedAction | |
| private static final int | MAX_STACK_FRAMES
The maximum number of stack frames to explore to find the caller frame. |
| private static final int | MIN_STACK_FRAMES
The minimum number of stack frames to drop before we can hope to find the caller frame. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static Method | |
| private static Class | |
| public static Method | |
| public static Method | |
| pack-priv static void |
| authorizedClasses | back to summary |
|---|---|
| private static Set<String> authorizedClasses | |
| GET_CALLER_STACK_ACTION | back to summary |
|---|---|
| private static final PrivilegedAction<Class<?>[]> GET_CALLER_STACK_ACTION | |
| MAX_STACK_FRAMES | back to summary |
|---|---|
| private static final int MAX_STACK_FRAMES The maximum number of stack frames to explore to find the caller frame. Beyond that, we give up and throw an exception. | |
| MIN_STACK_FRAMES | back to summary |
|---|---|
| private static final int MIN_STACK_FRAMES The minimum number of stack frames to drop before we can hope to find the caller frame. | |
| HibernateMethodLookupDispatcher | back to summary |
|---|---|
| public HibernateMethodLookupDispatcher() | |
| doPrivilegedAction | back to summary |
|---|---|
| private static Method doPrivilegedAction(PrivilegedAction<Method> privilegedAction) | |
| getCallerClass | back to summary |
|---|---|
| private static Class | |
| getDeclaredMethod | back to summary |
|---|---|
| public static Method getDeclaredMethod(Class<?> type, String name, Class<?>[] parameters) | |
| getMethod | back to summary |
|---|---|
| public static Method getMethod(Class<?> type, String name, Class<?>[] parameters) | |
| registerAuthorizedClass | back to summary |
|---|---|
| pack-priv static void registerAuthorizedClass(String className) | |
| Modifier and Type | Field and Description |
|---|---|
| private final Function | |
| private final Function | |
| private final StackWalker |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Class |
| stackFrameExtractFunction | back to summary |
|---|---|
| private final Function<Stream<StackWalker. | |
| stackFrameGetDeclaringClassFunction | back to summary |
|---|---|
| private final Function<StackWalker. | |
| stackWalker | back to summary |
|---|---|
| private final StackWalker stackWalker | |
| StackWalkerGetCallerStackAction | back to summary |
|---|---|
| pack-priv StackWalkerGetCallerStackAction(StackWalker stackWalker) | |
| run | back to summary |
|---|---|
| public Class Implements java. Doc from java. Performs the computation. This method will be called by
| |