- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我已将依赖项添加到我的 Grails 2.4.4 项目中:
plugins {
compile ":spring-security-core:2.0-RC5"
}
[groovyc]
org.codehaus.groovy.control.MultipleCompilationErrorsException:
startup failed: [groovyc] Compile error during compilation with
javac. [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\C
ryptoEncoderWrapper.java:28: error: package
org.springframework.security.crypto.password does not exist
[groovyc] protected final
org.springframework.security.crypto.password.PasswordEncoder delegate;
[groovyc]
^ [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\C
ryptoEncoderWrapper.java:33: error: package
org.springframework.security.crypto.password does not exist
[groovyc] public
CryptoEncoderWrapper(org.springframework.security.crypto.password.PasswordEncoder
encoder) { [groovyc]
^ [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\S
pringSecurityUtils.java:49: error: cannot find symbol [groovyc]
import
org.springframework.security.core.authority.SimpleGrantedAuthority;
[groovyc] ^
[groovyc] symbol: class SimpleGrantedAuthority [groovyc]
location: package org.springframework.security.core.authority
[groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\S
pringSecurityUtils.java:61: error: package
org.springframework.security.web.util.matcher does not exist
[groovyc] import
org.springframework.security.web.util.matcher.RequestMatcher;
[groovyc] ^
[groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\S
pringSecurityUtils.java:500: error: cannot find symbol [groovyc]
Filter filter, final int order, Map<RequestMatcher, List<Filter>>
filterChainMap) { [groovyc]
^ [groovyc] symbol: class RequestMatcher [groovyc] location:
class SpringSecurityUtils [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\S
pringSecurityUtils.java:499: error: cannot find symbol [groovyc]
private static Map<RequestMatcher, List<Filter>>
mergeFilterChainMap(Map<Integer, Filter> orderedFilters, [groovyc]
^ [groovyc] symbol: class RequestMatcher [groovyc] location:
class SpringSecurityUtils [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\a
ccess\vote\ClosureVoter.java:35: error: type AccessDecisionVoter does
not take parameters [groovyc] public class ClosureVoter implements
AccessDecisionVoter<FilterInvocation>, ApplicationContextAware {
[groovyc] ^
[groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\a
uthentication\GrailsAnonymousAuthenticationToken.java:23: error:
cannot find symbol [groovyc] import
org.springframework.security.core.authority.SimpleGrantedAuthority;
[groovyc] ^
[groovyc] symbol: class SimpleGrantedAuthority [groovyc]
location: package org.springframework.security.core.authority
[groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\a
uthentication\encoding\BCryptPasswordEncoder.java:27: error: package
org.springframework.security.crypto.bcrypt does not exist [groovyc]
protected final
org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder
delegate; [groovyc]
^ [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\a
uthentication\encoding\DigestAuthPasswordEncoder.java:21: error:
package org.springframework.security.crypto.codec does not exist
[groovyc] import org.springframework.security.crypto.codec.Hex;
[groovyc] ^
[groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\access\expression\WebExpressionVoter.java:23: error: cannot find
symbol [groovyc] import
org.springframework.security.access.expression.SecurityExpressionHandler;
[groovyc] ^
[groovyc] symbol: class SecurityExpressionHandler [groovyc]
location: package org.springframework.security.access.expression
[groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\access\expression\WebExpressionVoter.java:35: error: type
AccessDecisionVoter does not take parameters [groovyc] public class
WebExpressionVoter implements AccessDecisionVoter<FilterInvocation> {
[groovyc]
^ [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\access\expression\WebExpressionVoter.java:37: error: cannot find
symbol [groovyc] protected
SecurityExpressionHandler<FilterInvocation> expressionHandler;
[groovyc] ^ [groovyc] symbol: class
SecurityExpressionHandler [groovyc] location: class
WebExpressionVoter [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\access\expression\WebExpressionVoter.java:75: error: cannot find
symbol [groovyc] public void
setExpressionHandler(SecurityExpressionHandler<FilterInvocation>
handler) { [groovyc] ^
[groovyc] symbol: class SecurityExpressionHandler [groovyc]
location: class WebExpressionVoter [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\access\intercept\ChannelFilterInvocationSecurityMetadataSourceFactoryBean.java:28:
error: package org.springframework.security.web.util.matche r does not
exist [groovyc] import
org.springframework.security.web.util.matcher.AntPathRequestMatcher;
[groovyc] ^
[groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\access\intercept\ChannelFilterInvocationSecurityMetadataSourceFactoryBean.java:29:
error: package org.springframework.security.web.util.matche r does not
exist [groovyc] import
org.springframework.security.web.util.matcher.RequestMatcher;
[groovyc] ^
[groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\access\intercept\ChannelFilterInvocationSecurityMetadataSourceFactoryBean.java:66:
error: cannot find symbol [groovyc] protected
LinkedHashMap<RequestMatcher, Collection<ConfigAttribute>> buildMap()
{ [groovyc] ^ [groovyc] symbol:
class RequestMatcher [groovyc] location: class
ChannelFilterInvocationSecurityMetadataSourceFactoryBean [groovyc]
C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\authentication\FilterProcessUrlRequestMatcher.java:20: error:
package org.springframework.security.web.util.matcher does not exist
[groovyc] import
org.springframework.security.web.util.matcher.RequestMatcher;
[groovyc] ^
[groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\authentication\FilterProcessUrlRequestMatcher.java:31: error:
cannot find symbol [groovyc] public class
FilterProcessUrlRequestMatcher implements RequestMatcher { [groovyc]
^ [groovyc] symbol: class RequestMatcher [groovyc] C:\Documents
and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\filter\DebugFilter.java:37: error: cannot find symbol [groovyc]
import org.springframework.security.web.SecurityFilterChain;
[groovyc] ^ [groovyc]
symbol: class SecurityFilterChain [groovyc] location: package
org.springframework.security.web [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\filter\GrailsAnonymousAuthenticationFilter.java:44: error: type
AuthenticationDetailsSource does not take parameters [groovyc]
protected AuthenticationDetailsSource<HttpServletRequest, ?>
authenticationDetailsSource; [groovyc]
^ [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\filter\GrailsAnonymousAuthenticationFilter.java:81: error: type
AuthenticationDetailsSource does not take parameters [groovyc]
public void
setAuthenticationDetailsSource(AuthenticationDetailsSource<HttpServletRequest,
?> source) { [groovyc]
^ [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\filter\IpAddressFilter.java:36: error: package
org.springframework.security.web.util.matcher does not exist
[groovyc] import
org.springframework.security.web.util.matcher.IpAddressMatcher;
[groovyc] ^
[groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\S
pringSecurityUtils.java:172: error: cannot find symbol [groovyc]
requiredAuthorities.add(new SimpleGrantedAuthority(auth)); [groovyc]
^ [groovyc] symbol: class SimpleGrantedAuthority [groovyc]
location: class SpringSecurityUtils [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\S
pringSecurityUtils.java:480: error: cannot find symbol [groovyc]
Map<RequestMatcher, List<Filter>> filterChainMap =
filterChain.getFilterChainMap(); [groovyc] ^
[groovyc] symbol: class RequestMatcher [groovyc] location:
class SpringSecurityUtils [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\S
pringSecurityUtils.java:481: error: cannot find symbol [groovyc]
Map<RequestMatcher, List<Filter>> fixedFilterChainMap =
mergeFilterChainMap(orderedFilters, filter, order, [groovyc]
^ [groovyc] symbol: class RequestMatcher [groovyc] location:
class SpringSecurityUtils [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\S
pringSecurityUtils.java:505: error: cannot find symbol [groovyc]
Map<RequestMatcher, List<Filter>> fixedFilterChainMap = new
LinkedHashMap<RequestMatcher, List<Filter>>(); [groovyc]
^ [groovyc] symbol: class RequestMatcher [groovyc] location:
class SpringSecurityUtils [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\S
pringSecurityUtils.java:505: error: cannot find symbol [groovyc]
Map<RequestMatcher, List<Filter>> fixedFilterChainMap = new
LinkedHashMap<RequestMatcher, List<Filter>>(); [groovyc]
^ [groovyc] symbol: class RequestMatcher [groovyc] location:
class SpringSecurityUtils [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\S
pringSecurityUtils.java:506: error: cannot find symbol [groovyc]
for (Entry<RequestMatcher, List<Filter>> entry :
filterChainMap.entrySet()) { [groovyc] ^
[groovyc] symbol: class RequestMatcher [groovyc] location:
class SpringSecurityUtils [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\a
ccess\vote\ClosureVoter.java:55: error: cannot find symbol [groovyc]
return ACCESS_ABSTAIN; [groovyc] ^
[groovyc] symbol: variable ACCESS_ABSTAIN [groovyc] location:
class ClosureVoter [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\a
ccess\vote\ClosureVoter.java:62: error: cannot find symbol [groovyc]
return ((Boolean)result) ? ACCESS_GRANTED : ACCESS_DENIED; [groovyc]
^ [groovyc] symbol: variable ACCESS_GRANTED [groovyc]
location: class ClosureVoter [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\a
ccess\vote\ClosureVoter.java:62: error: cannot find symbol [groovyc]
return ((Boolean)result) ? ACCESS_GRANTED : ACCESS_DENIED; [groovyc]
^ [groovyc] symbol: variable ACCESS_DENIED [groovyc]
location: class ClosureVoter [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\a
ccess\vote\ClosureVoter.java:66: error: cannot find symbol [groovyc]
return ACCESS_DENIED; [groovyc] ^ [groovyc]
symbol: variable ACCESS_DENIED [groovyc] location: class
ClosureVoter [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\a
nnotation\SecuredClosureDelegate.java:45: error: cannot find symbol
[groovyc]
setPermissionEvaluator(ctx.getBean("permissionEvaluator",
PermissionEvaluator.class)); [groovyc] ^ [groovyc]
symbol: method setPermissionEvaluator(PermissionEvaluator)
[groovyc] location: class SecuredClosureDelegate [groovyc]
C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\a
uthentication\GrailsAnonymousAuthenticationToken.java:33: error:
cannot find symbol [groovyc] private static final long
serialVersionUID = SpringSecurityCoreVersion.SERIAL_VERSION_UID;
[groovyc]
^ [groovyc] symbol: variable SERIAL_VERSION_UID [groovyc]
location: class SpringSecurityCoreVersion [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\a
uthentication\GrailsAnonymousAuthenticationToken.java:38: error:
cannot find symbol [groovyc] public static final
GrantedAuthority ROLE = new SimpleGrantedAuthority(ROLE_NAME);
[groovyc] ^
[groovyc] symbol: class SimpleGrantedAuthority [groovyc]
location: class GrailsAnonymousAuthenticationToken [groovyc]
C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\a
uthentication\encoding\BCryptPasswordEncoder.java:34: error: package
org.springframework.security.crypto.bcrypt does not exist [groovyc]
delegate = new
org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder(logRounds);
[groovyc]
^ [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\a
uthentication\encoding\DigestAuthPasswordEncoder.java:89: error:
cannot find symbol [groovyc] return new
String(Hex.encode(digest.digest(s.getBytes()))); [groovyc]
^ [groovyc] symbol: variable Hex [groovyc] location: class
DigestAuthPasswordEncoder [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\access\expression\WebExpressionVoter.java:46: error: cannot find
symbol [groovyc] return ACCESS_ABSTAIN;
[groovyc] ^ [groovyc] symbol:
variable ACCESS_ABSTAIN [groovyc] location: class
WebExpressionVoter [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\access\expression\WebExpressionVoter.java:51: error: cannot find
symbol [groovyc] return
ExpressionUtils.evaluateAsBoolean(weca.getAuthorizeExpression(), ctx)
? ACCESS_GRANTED : ACCESS_DENIED; [groovyc]
^ [groovyc] symbol: variable ACCESS_GRANTED [groovyc]
location: class WebExpressionVoter [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\access\expression\WebExpressionVoter.java:51: error: cannot find
symbol [groovyc] return
ExpressionUtils.evaluateAsBoolean(weca.getAuthorizeExpression(), ctx)
? ACCESS_GRANTED : ACCESS_DENIED; [groovyc]
^ [groovyc] symbol: variable ACCESS_DENIED [groovyc]
location: class WebExpressionVoter [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\access\intercept\ChannelFilterInvocationSecurityMetadataSourceFactoryBean.java:67:
error: cannot find symbol [groovyc]
LinkedHashMap<RequestMatcher, Collection<ConfigAttribute>> map = new
LinkedHashMap<RequestMatcher, Collection<ConfigAttri bute>>();
[groovyc] ^ [groovyc] symbol: class
RequestMatcher [groovyc] location: class
ChannelFilterInvocationSecurityMetadataSourceFactoryBean [groovyc]
C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\access\intercept\ChannelFilterInvocationSecurityMetadataSourceFactoryBean.java:67:
error: cannot find symbol [groovyc]
LinkedHashMap<RequestMatcher, Collection<ConfigAttribute>> map = new
LinkedHashMap<RequestMatcher, Collection<ConfigAttri bute>>();
[groovyc]
^ [groovyc] symbol: class RequestMatcher [groovyc] location:
class ChannelFilterInvocationSecurityMetadataSourceFactoryBean
[groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\access\intercept\ChannelFilterInvocationSecurityMetadataSourceFactoryBean.java:80:
error: cannot find symbol [groovyc] map.put(new
AntPathRequestMatcher(entry.getKey()),
SecurityConfig.createList(value)); [groovyc]
^ [groovyc] symbol: class AntPathRequestMatcher [groovyc]
location: class
ChannelFilterInvocationSecurityMetadataSourceFactoryBean [groovyc]
C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\authentication\AjaxAwareAuthenticationEntryPoint.java:41: error:
constructor LoginUrlAuthenticationEntryPoint in class
LoginUrlAuthenticationE ntryPoint cannot be applied to given types;
[groovyc] super(loginFormUrl); [groovyc] ^
[groovyc] required: no arguments [groovyc] found: String
[groovyc] reason: actual and formal argument lists differ in length
[groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\authentication\switchuser\NullSwitchUserAuthorityChanger.java:29:
error: NullSwitchUserAuthorityChanger is not abstract and does not
override abstract method
modifyGrantedAuthorities(UserDetails,Authentication,Collection<GrantedAuthority>)
in SwitchUserAuthorityChanger [groovyc] public class
NullSwitchUserAuthorityChanger implements SwitchUserAuthorityChanger {
[groovyc] ^ [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\authentication\switchuser\NullSwitchUserAuthorityChanger.java:31:
error: name clash:
modifyGrantedAuthorities(UserDetails,Authentication,Colle ction<?
extends GrantedAuthority>) in NullSwitchUserAuthorityChanger and
modifyGrantedAuthorities(UserDetails,Authentication,Collection<GrantedAu
thority>) in SwitchUserAuthorityChanger have the same erasure, yet
neither overrides the other [groovyc] public Collection<?
extends GrantedAuthority> modifyGrantedAuthorities(UserDetails
targetUser, [groovyc]
^ [groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\filter\DebugFilter.java:129: error: cannot find symbol [groovyc]
for (SecurityFilterChain chain : filterChainProxy.getFilterChains()) {
[groovyc] ^ [groovyc] symbol: class
SecurityFilterChain [groovyc] location: class DebugFilter
[groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\filter\DebugFilter.java:129: error: cannot find symbol [groovyc]
for (SecurityFilterChain chain : filterChainProxy.getFilterChains()) {
[groovyc]
^ [groovyc] symbol: method getFilterChains() [groovyc]
location: variable filterChainProxy of type FilterChainProxy
[groovyc] C:\Documents and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\filter\GrailsRememberMeAuthenticationFilter.java:39: error:
constructor RememberMeAuthenticationFilter in class
RememberMeAuthenticationFilter cannot be applied to given types;
[groovyc] super(authenticationManager,
rememberMeServices); [groovyc] ^ [groovyc] required:
no arguments [groovyc] found:
AuthenticationManager,RememberMeServices [groovyc] reason: actual
and formal argument lists differ in length [groovyc] C:\Documents
and
Settings\pab\.grails\2.4.4\projects\ehr\plugins\spring-security-core-2.0-RC5\src\java\grails\plugin\springsecurity\w
eb\filter\IpAddressFilter.java:129: error: cannot find symbol
[groovyc] if (new
IpAddressMatcher(ipPattern.getAttribute()).matches(request)) {
[groovyc] ^ [groovyc] symbol:
class IpAddressMatcher [groovyc] location: class IpAddressFilter
[groovyc] 51 errors [groovyc] [groovyc]
grails.servlet.version = "2.5" // Change depending on target container compliance (2.5 or 3.0)
grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
grails.project.target.level = 1.6
grails.project.source.level = 1.6
grails.reload.enabled = true
forkConfig = [maxMemory: 1024, minMemory: 64, debug: false, maxPerm: 512]
grails.project.fork = [
test: forkConfig, // configure settings for the test-app JVM
run: forkConfig, // configure settings for the run-app JVM
war: forkConfig, // configure settings for the run-war JVM
console: forkConfig // configure settings for the Swing console JVM
]
//grails.project.war.file = "target/${appName}-${appVersion}.war"
grails.server.port.http = 8090
grails.project.dependency.resolver = "maven"
grails.project.dependency.resolution = {
// inherit Grails' default dependencies
inherits("global") {
// specify dependency exclusions here; for example, uncomment this to disable ehcache:
// excludes 'ehcache'
}
log "error" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
checksums true // Whether to verify checksums on resolve
repositories {
inherits true // Whether to inherit repository definitions from plugins
grailsPlugins()
grailsHome()
grailsCentral()
mavenLocal()
mavenCentral()
mavenRepo "http://repo.spring.io/milestone"
mavenRepo "https://oss.sonatype.org/content/repositories/snapshots"
}
dependencies {
runtime('org.codehaus.groovy.modules.http-builder:http-builder:0.5.2') {
excludes "commons-logging", "xml-apis", "groovy"
}
test "org.grails:grails-datastore-test-support:1.0-grails-2.4"
compile 'xerces:xercesImpl:2.11.0'
compile "mysql:mysql-connector-java:5.1.22"
}
plugins {
build ":tomcat:7.0.52.1"
// plugins for the compile step
compile ':scaffolding:2.1.0'
compile ':cache:1.1.3'
compile ':asset-pipeline:1.8.3'
// plugins needed at runtime but not for compilation
runtime ':hibernate4:4.3.5.4' // or ':hibernate:3.6.10.14'
runtime ':database-migration:1.4.0'
runtime ':jquery:1.11.0.2'
// https://github.com/davidtinker/grails-cors
runtime ":cors:1.1.8"
compile ':quartz:1.0.2'
compile ":spring-security-core:2.0-RC5"
}
}
最佳答案
我将编译“:spring-security-core:2.0-RC5”移到运行时“:cors:1.1.8”上方,现在正在编译。
从@sCrain 评论,不知道这是否会在运行时工作。如果我遇到另一个问题,将对其进行测试并返回。
关于Grails spring安全核心插件未编译,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32552446/
我正在学习 Spring 安全性,但我对它的灵活性感到困惑.. 我知道我可以通过在标签中定义规则来保护网址 然后我看到有一个@secure 注释可以保护方法。 然后还有其他注释来保护域(或 POJO)
假设有一个 key 加密 key 位于内存中并且未写入文件或数据库... byte[] kek = new byte[32]; secureRandom.nextBytes(kek); byte[]
我有 Spring Security 3.2.0 RC1 的问题 我正在使用标签来连接我 这表示“方法‘setF
我正在创建一个使用 Node Js 服务器 API 的 Flutter 应用程序。对于授权,我决定将 JWT 与私钥/公钥一起使用。服务器和移动客户端之间的通信使用 HTTPS。 Flutter 应用
在过去的几年里,我一直在使用范围从 Raphael.js 的 javascript 库。至 D3 ,我已经为自己的教育操纵了来自网络各地的动画。我已经从各种 git 存储库下载了 js 脚本,例如 s
在 python 中实现身份验证的好方法是什么?已经存在的东西也很好。我需要它通过不受信任的网络连接进行身份验证。它不需要太高级,只要足以安全地获取通用密码即可。我查看了 ssl 模块。但那个模块让我
我正在尝试学习“如何在 Hadoop 中实现 Kerberos?”我已经看过这个文档 https://issues.apache.org/jira/browse/HADOOP-4487我还了解了基本的
我有一个带有 apache2、php、mysql 的生产服务器。我现在只有一个站点 (mysite.com) 作为虚拟主机。我想把 phpmyadmin、webalizer 和 webmin 放在那里
前些天在网上看到防火墙软件OPNsense,对其有了兴趣,以前写过一个其前面的一个软件M0n0wall( 关于m0n0wa
我在 Spring Boot 和 oauth2(由 Google 提供)上编写了 rest 后端,在 "/login" 上自动重定向。除了 web 的 oauth 之外,我还想在移动后端进行 Fire
我想调用类 Foo,它的构造函数中有抽象类 Base。我希望能够从派生自 Base 的 Derived 调用 Foo 并使用 Derived覆盖方法而不是 Base 的方法。 我只能按照指示使用原始指
如何提高 session 的安全性? $this->session->userdata('userid') 我一直在为我的 ajax 调用扔掉这个小坏蛋。有些情况我没有。然后我想,使用 DOM 中的
我目前正在为某些人提供程序集编译服务。他们可以在在线编辑器中输入汇编代码并进行编译。然后编译它时,代码通过ajax请求发送到我的服务器,编译并返回程序的输出。 但是,我想知道我可以做些什么来防止对服务
就目前而言,这个问题不适合我们的问答形式。我们希望答案得到事实、引用或专业知识的支持,但这个问题可能会引起辩论、争论、投票或扩展讨论。如果您觉得这个问题可以改进并可能重新打开,visit the he
目前,我通过将 session 中的 key 与 MySQl 数据库中的相同 key 相匹配来验证用户 session 。我使用随机数重新生成 session ,该随机数在每个页面加载时都受 MD5
Microsoft 模式与实践团队提供了一个很棒的 pdf,称为:“构建安全的 asp.net 应用程序”。 microsoft pdf 由于它是为 .Net 1.0 编写的,所以现在有点旧了。有谁知
在 Lua 中,通常会使用 math.random 生成随机值和/或字符串。 & math.randomseed , 其中 os.time用于 math.randomseed . 然而,这种方法有一个
就目前而言,这个问题不适合我们的问答形式。我们希望答案得到事实、引用资料或专业知识的支持,但这个问题可能会引发辩论、争论、投票或扩展讨论。如果您觉得这个问题可以改进并可能重新打开,visit the
我们有一个严重依赖 Ajax 的应用程序。确保对服务器端脚本的请求不是通过独立程序而是通过坐在浏览器上的实际用户的好方法是什么 最佳答案 真的没有。 通过浏览器发送的任何请求都可以由独立程序伪造。 归
我正在寻找使用 WebSockets 与我们的服务器通信来实现 web (angular) 和 iPhone 应用程序。在过去使用 HTTP 请求时,我们使用请求数据、url、时间戳等的哈希值来验证和
我是一名优秀的程序员,十分优秀!