aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-02-04 14:46:30 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-02-04 14:46:30 +0100
commit402a2b0596e5e6f6aa059b461e6e77d9315f8d78 (patch)
tree450cc36205ffc43df5f31d92060993fcda4eb312 /id/server/idserverlib/src
parent265a005d263ef99d57f53169cbd15b94d09046c8 (diff)
downloadmoa-id-spss-402a2b0596e5e6f6aa059b461e6e77d9315f8d78.tar.gz
moa-id-spss-402a2b0596e5e6f6aa059b461e6e77d9315f8d78.tar.bz2
moa-id-spss-402a2b0596e5e6f6aa059b461e6e77d9315f8d78.zip
OAuth Fix
Update DemoConfig
Diffstat (limited to 'id/server/idserverlib/src')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/oauth20/protocol/OAuth20Protocol.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/oauth20/protocol/OAuth20Protocol.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/oauth20/protocol/OAuth20Protocol.java
index 47b81c5ff..00b7a83f0 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/oauth20/protocol/OAuth20Protocol.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/oauth20/protocol/OAuth20Protocol.java
@@ -8,7 +8,6 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang.StringUtils;
-import org.hibernate.annotations.common.util.StringHelper;
import at.gv.egovernment.moa.id.auth.exception.MOAIDException;
import at.gv.egovernment.moa.id.moduls.IAction;
@@ -18,6 +17,7 @@ import at.gv.egovernment.moa.id.protocols.oauth20.OAuth20Constants;
import at.gv.egovernment.moa.id.protocols.oauth20.OAuth20Util;
import at.gv.egovernment.moa.id.protocols.oauth20.exceptions.OAuth20Exception;
import at.gv.egovernment.moa.logging.Logger;
+import at.gv.egovernment.moa.util.MiscUtil;
import com.google.gson.JsonObject;
@@ -115,7 +115,7 @@ public class OAuth20Protocol implements IModulInfo {
}
} else {
String action = request.getParameter("action");
- if (!StringHelper.isEmpty(action)) {
+ if (MiscUtil.isNotEmpty(action)) {
if (action.equals(AUTH_ACTION)) {
paramRedirect = request.getParameter(OAuth20Constants.PARAM_REDIRECT_URI);