diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 18:53:55 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 18:53:55 +0000 |
commit | fd63db00a873ba082029848041fe28392e496316 (patch) | |
tree | 221ce88a89c7264c8082e382b41a5ec7dd5bb93c /pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow | |
parent | 23ae1caefcf0cc99c2b90327afaff6376ecc552a (diff) | |
download | pdf-over-fd63db00a873ba082029848041fe28392e496316.tar.gz pdf-over-fd63db00a873ba082029848041fe28392e496316.tar.bz2 pdf-over-fd63db00a873ba082029848041fe28392e496316.zip |
Changed SLRequest interface
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@27 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java | 9 | ||||
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java | 2 |
2 files changed, 1 insertions, 10 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java index c9c079a8..ccb411be 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java @@ -71,14 +71,7 @@ public class LocalBKUState extends State { SLRequest request = this.state.signingState .getSignatureRequest(); - String b64_data = new String(Base64.encodeBase64(request - .getSignatureData().getByteArray())); - - String sl_request = request.getRequest() - .replace( - SLRequest.DATAOBJECT_STRING, - "<sl:Base64Content>" + b64_data //$NON-NLS-1$ - + "</sl:Base64Content>"); //$NON-NLS-1$ + String sl_request = request.getBase64Request(); HttpClient client = new HttpClient(); client.getParams().setParameter("http.useragent", //$NON-NLS-1$ diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java index 9fc86f3b..af797756 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java @@ -140,8 +140,6 @@ public class PrepareSigningState extends State { // We got the Request set it into status and move on to next state ... status.setSigningState(this.signingState); - log.debug("SL REQUEST: " + this.signingState.getSignatureRequest().getRequest()); //$NON-NLS-1$ - if(this.stateMachine.getStatus().getBKU() == BKUs.LOCAL) { this.setNextState(new LocalBKUState(this.stateMachine)); } else if(this.stateMachine.getStatus().getBKU() == BKUs.MOBILE) { |