diff options
author | Bojan Suzic <bojan.suzic@iaik.tugraz.at> | 2014-02-04 15:10:26 +0100 |
---|---|---|
committer | Bojan Suzic <bojan.suzic@iaik.tugraz.at> | 2014-02-04 15:10:26 +0100 |
commit | 06a794922b67df242f50afc901231f621fd189de (patch) | |
tree | 80c53c5b28059fbe11ea8c935da9066760c3bdf9 /id/server/idserverlib/src | |
parent | 0a4c2f12ad6115ec40d325f5df8a3afb07d536dc (diff) | |
parent | 402a2b0596e5e6f6aa059b461e6e77d9315f8d78 (diff) | |
download | moa-id-spss-06a794922b67df242f50afc901231f621fd189de.tar.gz moa-id-spss-06a794922b67df242f50afc901231f621fd189de.tar.bz2 moa-id-spss-06a794922b67df242f50afc901231f621fd189de.zip |
Merge branch 'moa2_0_tlenz' of gitlab.iaik.tugraz.at:afitzek/moa-idspss into moa2_0_tlenz_bs_2
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.java | 4 |
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); |