diff options
| author | Bojan Suzic <bojan.suzic@iaik.tugraz.at> | 2014-08-26 16:14:56 +0200 | 
|---|---|---|
| committer | Bojan Suzic <bojan.suzic@iaik.tugraz.at> | 2014-08-26 16:14:56 +0200 | 
| commit | 7d5c3f516ca56afcbee5b886557a5d682cadadcf (patch) | |
| tree | 7227791ff43d8d41a08a4e9a0ee329eddd843558 /id/server/idserverlib | |
| parent | 30bd1dd3de38c29af4fbeef8ef87be7ecbecfd53 (diff) | |
| download | moa-id-spss-7d5c3f516ca56afcbee5b886557a5d682cadadcf.tar.gz moa-id-spss-7d5c3f516ca56afcbee5b886557a5d682cadadcf.tar.bz2 moa-id-spss-7d5c3f516ca56afcbee5b886557a5d682cadadcf.zip | |
fixing spcountry issue
Diffstat (limited to 'id/server/idserverlib')
| -rw-r--r-- | id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java index 33fed945b..d06298efa 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java @@ -1845,7 +1845,7 @@ public class AuthenticationServer implements MOAIDAuthConstants {  		String spSector = StringUtils.isEmpty(moasession.getTarget()) ? "Business" : moasession.getTarget();  		String spInstitution = StringUtils.isEmpty(oaParam.getFriendlyName()) ? "UNKNOWN" : oaParam.getFriendlyName();  		String spApplication = spInstitution; -		String spCountry = "AT"; +		String spCountry = "AT";  // intentionally set AT - the flow is limited on that use case only  		//generate AuthnRquest  		STORKAuthnRequest authnRequest = new STORKAuthnRequest(); @@ -1855,7 +1855,7 @@ public class AuthenticationServer implements MOAIDAuthConstants {  		authnRequest.setIssuer(issuerValue);  		authnRequest.setQaa(oaParam.getQaaLevel());  		authnRequest.setSpInstitution(spInstitution); -		authnRequest.setCountry(spCountry); +		authnRequest.setSpCountry(spCountry);  		authnRequest.setSpApplication(spApplication);  		authnRequest.setSpSector(spSector);  		authnRequest.setPersonalAttributeList(attributeList); | 
