List of usage examples for org.springframework.security.web.access.intercept RequestKey RequestKey
public RequestKey(String url, String method)
From source file:com.xyz.system.service.impl.DefinitionSourceFactoryBean.java
/** * resourceDetailService??LinkedHashMap<String, String>?URL?? * DefaultFilterInvocationDefinitionSource?LinkedHashMap<RequestKey, ConfigAttributeDefinition>?. *///from ww w .j a va 2s .co m protected LinkedHashMap<RequestKey, Collection<ConfigAttribute>> buildRequestMap() throws Exception { LinkedHashMap<String, String> srcMap = securityManager.getRequestMap(); LinkedHashMap<RequestKey, Collection<ConfigAttribute>> distMap = new LinkedHashMap<RequestKey, Collection<ConfigAttribute>>(); for (Map.Entry<String, String> entry : srcMap.entrySet()) { RequestKey key = new RequestKey(entry.getKey(), null); if (StringUtils.isNotBlank(entry.getValue())) { distMap.put(key, SecurityConfig.createListFromCommaDelimitedString(entry.getValue())); } } return distMap; }