For IntelliJ IDEA,
Android Studio or Eclipse



@Override public boolean checkResourcePermission( Map<String, Object> contextMap, ServletRequest request, ServletResponse response, Subject callerSubject, String contextID, String canonicalRequestURI) { return checkResourcePermission(contextMap, request, response, callerSubject, contextID, canonicalRequestURI, null); }
public void linkConfiguration(PolicyConfiguration link) throws PolicyContextException { if (PicketBoxLogger.LOGGER.isTraceEnabled()) { PicketBoxLogger.LOGGER.traceLinkConfiguration(link.getContextID()); } validateState("linkConfiguration"); policy.linkConfiguration(contextID, link); }
@Override public boolean hasRole( String roleName, Principal principal, String servletName, Set<Principal> principalRoles, String contextID, Subject callerSubject) { return hasRole(roleName, principal, servletName, principalRoles, contextID, callerSubject, null); }
private void logException(SAXParseException sax) { StringBuilder builder = new StringBuilder(); if(PicketBoxLogger.LOGGER.isTraceEnabled()) { builder.append("[").append(sax.getLineNumber()).append(",").append(sax.getColumnNumber()).append("]"); builder.append(":").append(sax.getLocalizedMessage()); PicketBoxLogger.LOGGER.trace(builder.toString()); } } });
public static String get() { String hostName = host.get(); if (PicketBoxLogger.LOGGER.isTraceEnabled()) { PicketBoxLogger.LOGGER.traceHostThreadLocalGet(hostName, Thread.currentThread().getId()); } return hostName; }
public static void set(String hostVal) { if (PicketBoxLogger.LOGGER.isTraceEnabled()) { PicketBoxLogger.LOGGER.traceHostThreadLocalSet(hostVal, Thread.currentThread().getId()); } host.set(hostVal); }
public void linkConfiguration(PolicyConfiguration link) throws PolicyContextException { if (PicketBoxLogger.LOGGER.isTraceEnabled()) { PicketBoxLogger.LOGGER.traceLinkConfiguration(link.getContextID()); } validateState("linkConfiguration"); policy.linkConfiguration(contextID, link); }
private void logException(SAXParseException sax) { StringBuilder builder = new StringBuilder(); if(PicketBoxLogger.LOGGER.isTraceEnabled()) { builder.append("[").append(sax.getLineNumber()).append(",").append(sax.getColumnNumber()).append("]"); builder.append(":").append(sax.getLocalizedMessage()); PicketBoxLogger.LOGGER.trace(builder.toString()); } } });
public static String get() { String hostName = host.get(); if (PicketBoxLogger.LOGGER.isTraceEnabled()) { PicketBoxLogger.LOGGER.traceHostThreadLocalGet(hostName, Thread.currentThread().getId()); } return hostName; }
private void logException(SAXParseException sax) { StringBuilder builder = new StringBuilder(); if(PicketBoxLogger.LOGGER.isTraceEnabled()) { builder.append("[").append(sax.getLineNumber()).append(",").append(sax.getColumnNumber()).append("]"); builder.append(":").append(sax.getLocalizedMessage()); PicketBoxLogger.LOGGER.trace(builder.toString()); } } });
public static String get() { String hostName = host.get(); if (PicketBoxLogger.LOGGER.isTraceEnabled()) { PicketBoxLogger.LOGGER.traceHostThreadLocalGet(hostName, Thread.currentThread().getId()); } return hostName; }
public void linkConfiguration(PolicyConfiguration link) throws PolicyContextException { if (PicketBoxLogger.LOGGER.isTraceEnabled()) { PicketBoxLogger.LOGGER.traceLinkConfiguration(link.getContextID()); } validateState("linkConfiguration"); policy.linkConfiguration(contextID, link); }
public static void set(String hostVal) { if (PicketBoxLogger.LOGGER.isTraceEnabled()) { PicketBoxLogger.LOGGER.traceHostThreadLocalSet(hostVal, Thread.currentThread().getId()); } host.set(hostVal); }
public static void set(String hostVal) { if (PicketBoxLogger.LOGGER.isTraceEnabled()) { PicketBoxLogger.LOGGER.traceHostThreadLocalSet(hostVal, Thread.currentThread().getId()); } host.set(hostVal); }
public void linkConfiguration(PolicyConfiguration link) throws PolicyContextException { if (PicketBoxLogger.LOGGER.isTraceEnabled()) { PicketBoxLogger.LOGGER.traceLinkConfiguration(link.getContextID()); } validateState("linkConfiguration"); policy.linkConfiguration(contextID, link); }