Skip to content

Commit

Permalink
SAML Authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
tifoha committed Jan 21, 2016
1 parent 4740185 commit fc3d169
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public FilterConfig(javax.servlet.FilterConfig config) {
isEnabled = configurationMap.containsKey(AUTHENTICATION_METHOD_NAME_PROP);
excludedUrlPattern = config.getInitParameter(EXCLUDED_URL_PATTERN_PARAMETER);
spProviderId = Imcms.getServerName();
// acsUrl = spProviderId+config.getServletContext().getContextPath() + "/acs";
acsUrl = spProviderId+config.getServletContext().getContextPath() + "/acs";
idpSSOUrl = isEnabled ? configurationMap.get(AUTHENTICATION_METHOD_NAME_PROP).getUrl() : "";//config.getInitParameter(IDP_SSO_URL_PARAMETER);
logoutUrl = config.getInitParameter(SP_LOGOUT_URL_PARAMETER);
Expand Down
3 changes: 2 additions & 1 deletion ivis-server/src/main/java/com/imcode/saml2/Imcms.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ public static Map<String, AuthenticationMethodConfiguration> getAuthenticationCo
//
private static Properties getServerProperties() {
Properties props = new Properties();
props.setProperty("server-name", "http://ivis.dev.imcode.com");
// props.setProperty("server-name", "http://localhost:8080");
props.setProperty("server-name", "http://ivis.dev.imcode.com:80");
props.setProperty("authentication-method-1", "loginPassword");
props.setProperty("authentication-method-2", "cgi");
props.setProperty("cgi-authentication-method-url", "https://m00-mg-local.testidp.funktionstjanster.se/samlv2/idp/req/0/0");
Expand Down

0 comments on commit fc3d169

Please sign in to comment.