Skip to content

Commit

Permalink
Updated samples to remove entityID from audience URI
Browse files Browse the repository at this point in the history
  • Loading branch information
brandwe committed Oct 22, 2012
1 parent 064b1ab commit daabc98
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Expand Up @@ -54,7 +54,7 @@ private GetOrgIdSpnResult GetSpn()
idpIdentifier = new Guid(entityDescriptor.Split('@')[1]); idpIdentifier = new Guid(entityDescriptor.Split('@')[1]);
} }


return new GetOrgIdSpnResult(new Guid(this.AppPrincipalId), this.ApplicationDomain, idpIdentifier, entityDescriptor); return new GetOrgIdSpnResult(new Guid(this.AppPrincipalId), this.ApplicationDomain, idpIdentifier);
} }
} }
} }
Expand Down
Expand Up @@ -7,11 +7,11 @@ public class GetOrgIdSpnResult
{ {
private const string Display = "<issuer name=\"{0}\" displayName=\"{0}\" realm=\"{1}\" />"; private const string Display = "<issuer name=\"{0}\" displayName=\"{0}\" realm=\"{1}\" />";


public GetOrgIdSpnResult(Guid appId, string appDomain, Guid idpId, string entityId) public GetOrgIdSpnResult(Guid appId, string appDomain, Guid idpId)
{ {
this.ApplicationId = appId; this.ApplicationId = appId;
this.ApplicationDomain = appDomain; this.ApplicationDomain = appDomain;
this.Spn = string.Format("spn:{0}@{1}", appId, idpId); this.Spn = string.Format("spn:{0}", appId);
} }


public Guid ApplicationId { get; internal set; } public Guid ApplicationId { get; internal set; }
Expand Down
2 changes: 1 addition & 1 deletion WAAD.WebSSO.PHP/php/code/samples/phpSample/federation.ini
@@ -1,6 +1,6 @@
federation.trustedissuers.issuer=https://accounts.accesscontrol.windows.net/v2/wsfederation federation.trustedissuers.issuer=https://accounts.accesscontrol.windows.net/v2/wsfederation
federation.trustedissuers.thumbprint=3f5dfcdf4b3d0eab9ba49befb3cfd760da9cccf1 federation.trustedissuers.thumbprint=3f5dfcdf4b3d0eab9ba49befb3cfd760da9cccf1
federation.trustedissuers.friendlyname=Awesome Computers federation.trustedissuers.friendlyname=Awesome Computers
federation.audienceuris=spn:d184f6dd-d5d6-44c8-9cfa-e2d630dea392@495c4a5e-38b7-49b9-a90f-4c0050b2d7f7 federation.audienceuris=spn:d184f6dd-d5d6-44c8-9cfa-e2d630dea392
federation.realm=spn:d184f6dd-d5d6-44c8-9cfa-e2d630dea392@495c4a5e-38b7-49b9-a90f-4c0050b2d7f7 federation.realm=spn:d184f6dd-d5d6-44c8-9cfa-e2d630dea392@495c4a5e-38b7-49b9-a90f-4c0050b2d7f7
federation.reply=https://localhost/phpSample/index.php federation.reply=https://localhost/phpSample/index.php

0 comments on commit daabc98

Please sign in to comment.