aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-01-17 12:22:40 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-01-17 12:22:40 +0100
commit0652e7c7a912804fada38062561931e16cc09026 (patch)
tree716c83f5aa5bd8aaa292293feaf8194ac0817f23 /id/server/idserverlib
parent8b4b3a97cdbdfc4158781982f6e9fc2900871198 (diff)
downloadmoa-id-spss-0652e7c7a912804fada38062561931e16cc09026.tar.gz
moa-id-spss-0652e7c7a912804fada38062561931e16cc09026.tar.bz2
moa-id-spss-0652e7c7a912804fada38062561931e16cc09026.zip
test
Diffstat (limited to 'id/server/idserverlib')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/MOAIDAuthInitializer.java3
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/oauth20/OAuth20TokenAction.java2
2 files changed, 4 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/MOAIDAuthInitializer.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/MOAIDAuthInitializer.java
index 556d26c67..58d1ba0df 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/MOAIDAuthInitializer.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/MOAIDAuthInitializer.java
@@ -80,6 +80,9 @@ public class MOAIDAuthInitializer {
MailcapCommandMap mc = new MailcapCommandMap();
CommandMap.setDefaultCommandMap(mc);
+ Logger.info("Loading security providers.");
+ //IAIK.addAsProvider();
+
// create some properties and get the default Session
Properties props = new Properties();
props.put("mail.smtp.host", "localhost");
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/oauth20/OAuth20TokenAction.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/oauth20/OAuth20TokenAction.java
index d66f9cb2a..22ed20d70 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/oauth20/OAuth20TokenAction.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/oauth20/OAuth20TokenAction.java
@@ -194,7 +194,7 @@ public class OAuth20TokenAction implements IAction {
// add properties and sign
// HmacSHA256Signer signer = new HmacSHA256Signer("testSigner", "key_id",
// "super_secure_pwd".getBytes());
- // Signer signer = OAuth20Util.loadSigner(authData.getIssuer(), oaParam.getoAuth20Config());
+ //Signer signer = OAuth20Util.loadSigner(authData.getIssuer(), oaParam.getoAuth20Config());
Signer signer = OAuth20Util.loadSigner(authData.getIssuer());
JsonToken token = new JsonToken(signer);
OAuth20Util.addProperytiesToJsonObject(token.getPayloadAsJsonObject(), params);