Advertisement
Guest User

Untitled

a guest
Dec 9th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. c:[Type == "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname", Issuer == "AD AUTHORITY"]
  2. => add(store = "Active Directory", types = ("Phase1"), query = ";memberOf;{0}", param = c.Value);
  3.  
  4.  
  5. c:[Type == "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname", Issuer == "AD AUTHORITY"]
  6. => add(store = "Active Directory", types = ("Phase1"), query = ";memberOf;{0}", param = c.Value);
  7.  
  8.  
  9. c:[Type == "Phase2"]
  10. => add(Type = "http://schemas.xmlsoap.org/claims/Group", Value = RegExReplace(c.Value, "^CN=", ""));
  11.  
  12.  
  13. c:[Type == "http://schemas.xmlsoap.org/claims/Group", Value =~ "(?i)Egress"]
  14. => issue(claim = c);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement