Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2, 1.8.2-EE-GA
-
Fix Version/s: 1.8.2-EE-GA_P01, 1.8.3
-
Component/s: Framework
-
Labels:None
-
Environment:ICEFaces + Spring Security 3.0
-
Affects:Compatibility/Configuration
Description
An update is required to detect Spring Security 3.0. A user patch has been located:
static {
try {
AcegiAuthenticationClass = Class.forName("org.acegisecurity.Authentication");
AuthenticationClass = AcegiAuthenticationClass;
Log.debug("Acegi Security detected.");
} catch (Throwable t) {
Log.debug("Acegi Security not detected.");
}
try {
SpringAuthenticationClass = Class.forName("org.springframework.security.Authentication");
AuthenticationClass = SpringAuthenticationClass;
Log.debug("Spring Security detected.");
} catch (Throwable t) {
Log.debug("Spring Security not detected.");
}
// New code below
try {
SpringAuthenticationClass = Class.forName("org.springframework.security.core.Authentication");
AuthenticationClass = SpringAuthenticationClass;
Log.debug("Spring Security 3 detected.");
} catch (Throwable t) {
Log.debug("Spring Security 3 not detected.");
}
// end patch
}
static {
try {
AcegiAuthenticationClass = Class.forName("org.acegisecurity.Authentication");
AuthenticationClass = AcegiAuthenticationClass;
Log.debug("Acegi Security detected.");
} catch (Throwable t) {
Log.debug("Acegi Security not detected.");
}
try {
SpringAuthenticationClass = Class.forName("org.springframework.security.Authentication");
AuthenticationClass = SpringAuthenticationClass;
Log.debug("Spring Security detected.");
} catch (Throwable t) {
Log.debug("Spring Security not detected.");
}
// New code below
try {
SpringAuthenticationClass = Class.forName("org.springframework.security.core.Authentication");
AuthenticationClass = SpringAuthenticationClass;
Log.debug("Spring Security 3 detected.");
} catch (Throwable t) {
Log.debug("Spring Security 3 not detected.");
}
// end patch
}
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Greg Dick
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 1.8.2-EE-GA_P01 [ 10220 ] | |
Fix Version/s | 1.8.3 [ 10211 ] | |
Affects | [Compatibility/Configuration] |
Ken Fyten
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |