Changeset 290

Show
Ignore:
Timestamp:
08/06/07 23:06:45 (1 year ago)
Author:
paulhethmon
Message:

Use proper issuername value.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • AcmeIdp/trunk/web/WEB-INF/classes/log4j.properties

    r273 r290  
    11# Sample ResourceBundle properties file 
    22# Set root logger level to DEBUG and its only appender to A1. 
    3 log4j.rootLogger=DEBUG, A1 
     3#log4j.rootLogger=DEBUG, A1 
    44 
    55# A1 is set to be a ConsoleAppender. 
  • AcmeIdp/trunk/web/auth-secure.jsp

    r279 r290  
    9393    rsp.setAuthnRequest(auth); 
    9494    rsp.setLoginId(idpLoginId); 
    95     rsp.setIssuerName( request.getLocalName() ); 
     95    String issuerName = (request.isSecure()==true?"https://":"http://") + request.getServerName(); // + ":" + request.getServerPort() + "/recv-saml.jsp"; 
     96    rsp.setIssuerName( issuerName ); 
    9697    rsp.setPrivateKeyCache(pkCache); 
    9798    rsp.setSignAssertion(true); 
     99    rsp.setNameIdFormat(SAMLResponse.EMAIL); 
    98100    samlResponse = rsp.createSuccessResponse(); 
    99101    responseXML = rsp.getResponseXML(); 
  • AcmeIdp/trunk/web/auth-user.jsp

    r279 r290  
    7777      rsp.setAuthnRequest(auth); 
    7878      rsp.setLoginId(idpLoginId); 
    79       rsp.setIssuerName( request.getLocalName() ); 
     79      String issuerName = (request.isSecure()==true?"https://":"http://") + request.getServerName(); // + ":" + request.getServerPort() + "/recv-saml.jsp"; 
     80      rsp.setIssuerName( issuerName ); 
    8081      rsp.setPrivateKeyCache(pkCache); 
    8182      rsp.setSignAssertion(true);