/** * @see SecurityContext#getUtil() */ public SecurityContextUtil getUtil() { if(util == null) { try { util = SecurityContextFactory.createUtil(this); } catch (Exception e) { throw new IllegalStateException(e); } } return util; }
/** * @see SecurityContext#getUtil() */ public SecurityContextUtil getUtil() { if(util == null) { try { util = SecurityContextFactory.createUtil(this); } catch (Exception e) { throw new IllegalStateException(e); } } return util; }
/** * Return an instance of the SecurityContextUtil given a FQN of the util class * @param sc SecurityContext * @param utilFQN fqn of the util class * @return */ public static SecurityContextUtil createUtil(SecurityContext sc, String utilFQN) throws Exception { return createUtil(sc, utilFQN, SecuritySPIActions.getCurrentClassLoader(SecurityContextFactory.class)); }
/** * Return an instance of the SecurityContextUtil given a FQN of the util class * @param sc SecurityContext * @param utilFQN fqn of the util class * @return */ public static SecurityContextUtil createUtil(SecurityContext sc, String utilFQN) throws Exception { return createUtil(sc, utilFQN, SecuritySPIActions.getCurrentClassLoader(SecurityContextFactory.class)); }
/** * Return an instance of the SecurityContextUtil given a FQN of the util class * @param sc SecurityContext * @param utilFQN fqn of the util class * @return */ public static SecurityContextUtil createUtil(SecurityContext sc, String utilFQN) throws Exception { return createUtil(sc, utilFQN, SecuritySPIActions.getCurrentClassLoader(SecurityContextFactory.class)); }