aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-lib')
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/CertificateAndRequestParameterResolver.java18
1 files changed, 17 insertions, 1 deletions
diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/CertificateAndRequestParameterResolver.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/CertificateAndRequestParameterResolver.java
index c53a9a4f..dd9a396a 100644
--- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/CertificateAndRequestParameterResolver.java
+++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/CertificateAndRequestParameterResolver.java
@@ -50,14 +50,30 @@ public class CertificateAndRequestParameterResolver implements IResolver {
public CertificateAndRequestParameterResolver(X509Certificate certificate, OperationStatus operationStatus) {
this.certificate = certificate;
+ MemberAccess memberAccess = new MemberAccess() {
+ @Override
+ public Object setup(Map context, Object target, Member member, String propertyName) {
+ return null;
+ }
+
+ @Override
+ public void restore(Map context, Object target, Member member, String propertyName, Object state) {
+
+ }
- MemberAccess memberAccess = new AbstractMemberAccess() {
@Override
public boolean isAccessible(Map context, Object target, Member member, String propertyName) {
int modifiers = member.getModifiers();
return Modifier.isPublic(modifiers);
}
};
+// MemberAccess memberAccess = new AbstractMemberAccess() {
+// @Override
+// public boolean isAccessible(Map context, Object target, Member member, String propertyName) {
+// int modifiers = member.getModifiers();
+// return Modifier.isPublic(modifiers);
+// }
+// };
this.ctx = new OgnlContext(null, null, memberAccess);