Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
RabbitMQ working in 401.3.x
John Gasper
committed
Sep 21, 2018
1 parent
39392fd
commit 00d889a
Showing
8 changed files
with
285 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
This file is an EXAMPLE policy file. While the policy presented in this | ||
example file is illustrative of some simple cases, it relies on the names of | ||
non-existent example services and the example attributes demonstrated in the | ||
default attribute-resolver.xml file. | ||
Deployers should refer to the documentation for a complete list of components | ||
and their options. | ||
--> | ||
<AttributeFilterPolicyGroup id="ShibbolethFilterPolicy" | ||
xmlns="urn:mace:shibboleth:2.0:afp" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="urn:mace:shibboleth:2.0:afp http://shibboleth.net/schema/idp/shibboleth-afp.xsd"> | ||
|
||
<!-- Release some attributes to an SP. --> | ||
|
||
<AttributeFilterPolicy id="boardeffect"> | ||
<PolicyRequirementRule xsi:type="Requester" value="https://college.boardeffect.com/sp" /> | ||
|
||
<AttributeRule attributeID="eduPersonEntitlement"> | ||
<PermitValueRule xsi:type="Value" value="https://college.boardeffect.com/sp" ignoreCase="true" /> | ||
</AttributeRule> | ||
|
||
<AttributeRule attributeID="uid"> | ||
<PermitValueRule xsi:type="ANY" /> | ||
</AttributeRule> | ||
|
||
</AttributeFilterPolicy> | ||
|
||
<AttributeFilterPolicy id="grouper"> | ||
<PolicyRequirementRule xsi:type="Requester" value="https://grouperdemo/shibboleth" /> | ||
|
||
<AttributeRule attributeID="cn"> | ||
<PermitValueRule xsi:type="ANY" /> | ||
</AttributeRule> | ||
|
||
<AttributeRule attributeID="eduPersonAffiliation"> | ||
<PermitValueRule xsi:type="ANY" /> | ||
</AttributeRule> | ||
|
||
<AttributeRule attributeID="eduPersonPrimaryAffiliation"> | ||
<PermitValueRule xsi:type="ANY" /> | ||
</AttributeRule> | ||
|
||
<AttributeRule attributeID="eduPersonEntitlement"> | ||
<PermitValueRule xsi:type="ANY" /> | ||
</AttributeRule> | ||
|
||
<AttributeRule attributeID="eduPersonPrincipalName"> | ||
<PermitValueRule xsi:type="ANY" /> | ||
</AttributeRule> | ||
|
||
<AttributeRule attributeID="eduPersonScopedAffiliation"> | ||
<PermitValueRule xsi:type="ANY" /> | ||
</AttributeRule> | ||
|
||
<AttributeRule attributeID="employeeNumber"> | ||
<PermitValueRule xsi:type="ANY" /> | ||
</AttributeRule> | ||
|
||
<AttributeRule attributeID="givenName"> | ||
<PermitValueRule xsi:type="ANY" /> | ||
</AttributeRule> | ||
|
||
<AttributeRule attributeID="mail"> | ||
<PermitValueRule xsi:type="ANY" /> | ||
</AttributeRule> | ||
|
||
<AttributeRule attributeID="surname"> | ||
<PermitValueRule xsi:type="ANY" /> | ||
</AttributeRule> | ||
|
||
<AttributeRule attributeID="uid"> | ||
<PermitValueRule xsi:type="ANY" /> | ||
</AttributeRule> | ||
|
||
</AttributeFilterPolicy> | ||
</AttributeFilterPolicyGroup> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
112 changes: 112 additions & 0 deletions
112
ex401/ex401.3.4/container_files/grouper.client.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
# | ||
# Copyright 2014 Internet2 | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
# | ||
# Grouper client configuration | ||
# $Id: grouper.client.example.properties,v 1.24 2009-12-30 04:23:02 mchyzer Exp $ | ||
# | ||
|
||
# The grouper client uses Grouper Configuration Overlays (documented on wiki) | ||
# By default the configuration is read from grouper.client.base.properties | ||
# (which should not be edited), and the grouper.client.properties overlays | ||
# the base settings. See the grouper.client.base.properties for the possible | ||
# settings that can be applied to the grouper.client.properties | ||
|
||
######################################## | ||
## LDAP connection settings | ||
######################################## | ||
|
||
# url of directory, including the base DN (distinguished name) | ||
# e.g. ldap://server.school.edu/dc=school,dc=edu | ||
# e.g. ldaps://server.school.edu/dc=school,dc=edu | ||
grouperClient.ldap.url = | ||
|
||
# kerberos principal used to connect to ldap | ||
grouperClient.ldap.login = | ||
|
||
# password for shared secret authentication to ldap | ||
# or you can put a filename with an encrypted password | ||
grouperClient.ldap.password = | ||
|
||
######################################## | ||
## Web service Connection settings | ||
######################################## | ||
|
||
# url of web service, should include everything up to the first resource to access | ||
# e.g. http://groups.school.edu:8090/grouper-ws/servicesRest | ||
# e.g. https://groups.school.edu/grouper-ws/servicesRest | ||
grouperClient.webService.url = https://localhost/grouper-ws/servicesRest | ||
|
||
# kerberos principal used to connect to web service | ||
grouperClient.webService.login = banderson | ||
|
||
# password for shared secret authentication to web service | ||
# or you can put a filename with an encrypted password | ||
grouperClient.webService.password.elConfig = password | ||
|
||
|
||
################################ | ||
## Grouper Messaging System | ||
################################ | ||
|
||
# name of messaging system which is the default | ||
grouper.messaging.default.name.of.messaging.system = rabbitmq | ||
|
||
# name of a messaging system. note, "grouperBuiltinMessaging" can be arbitrary | ||
# grouper.messaging.system.grouperBuiltinMessaging.name = grouperBuiltinMessaging | ||
|
||
# class that implements edu.internet2.middleware.grouperClient.messaging.GrouperMessagingSystem | ||
# grouper.messaging.system.grouperBuiltinMessaging.class = edu.internet2.middleware.grouper.messaging.GrouperBuiltinMessagingSystem | ||
|
||
# name of a messaging system. note, "grouperBuiltinMessaging" can be arbitrary | ||
grouper.messaging.system.rabbitmqSystem.name = rabbitmqSystem | ||
|
||
# class that implements edu.internet2.middleware.grouperClient.messaging.GrouperMessagingSystem | ||
grouper.messaging.system.rabbitmqSystem.class = edu.internet2.middleware.grouperMessagingRabbitmq.GrouperMessagingRabbitmqSystem | ||
|
||
# host address of rabbitmq queue | ||
grouper.messaging.system.rabbitmqSystem.host = rabbitmq | ||
|
||
# virtual host of rabbitmq queue | ||
grouper.messaging.system.rabbitmqSystem.virtualhost = | ||
|
||
# port of rabbitmq queue | ||
grouper.messaging.system.rabbitmqSystem.port = | ||
|
||
grouper.messaging.system.rabbitmqSystem.defaultPageSize = 10 | ||
|
||
grouper.messaging.system.rabbitmqSystem.maxPageSize = 50 | ||
|
||
|
||
# name of a messaging system, required | ||
grouper.messaging.system.rabbitmq.name = rabbitmq | ||
|
||
# default system settings to this messaging system, note, there is only one level of inheritance | ||
grouper.messaging.system.rabbitmq.defaultSystemName = rabbitmqSystem | ||
|
||
grouper.messaging.system.rabbitmq.user = guest | ||
|
||
#pass | ||
grouper.messaging.system.rabbitmq.password.elConfig = guest | ||
# set the following three properties if you want to use TLS connection to rabbitmq. All three need to be populated. | ||
# TLS Version | ||
#grouper.messaging.system.rabbitmqSystem.tlsVersion = TLSv1.1 | ||
|
||
# path to trust store file | ||
#grouper.messaging.system.rabbitmqSystem.pathToTrustStore = | ||
|
||
# trust passphrase | ||
#grouper.messaging.system.rabbitmqSystem.trustPassphrase = |