- Change acl_object_identity.object_id_identity field to varchar.
- Start application. Expecting error.
- App started normally (before any page call)
- Browse page, error come up. (Yes~!)
- java.lang.String cannot be cast to java.math.BigInteger
- Error at existing ACL entry.
Attempt 2
- Try insert an object with UUID as PK.
- And this is what I'm waiting for: java.lang.NumberFormatException: For input string: "741d25fe-f281-4747-95ef-229c1ba60000"
- Create a Java Project in eclipse
- Import from spring-security-acl-3.0.5.RELEASE-sources.jar
- Modify (trial-and-error) BasicLookupStrategy.java and ObjectIdentityImpl.java (mostly change long to String)
- And it works, for now...
No comments:
Post a Comment