-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added some additional details; setup authn for the SCIM Server; comme…
…nted out the default WS/SCIM tomcat-users's accounts with its default password(s).
- Loading branch information
John Gasper
committed
Jan 29, 2018
1 parent
5e8fc3b
commit 58addf7
Showing
11 changed files
with
246 additions
and
6 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!-- | ||
| Licensed to the Apache Software Foundation (ASF) under one or more | ||
| contributor license agreements. See the NOTICE file distributed with | ||
| this work for additional information regarding copyright ownership. | ||
| The ASF licenses this file to You 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. | ||
| --> | ||
| <tomcat-users xmlns="http://tomcat.apache.org/xml" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd" | ||
| version="1.0"> | ||
| <role rolename="grouper_user"/> | ||
| <!--<user username="GrouperSystem" password="XXXXXXXXXX" roles="grouper_user"/> --> | ||
| <!-- | ||
| NOTE: By default, no user is included in the "manager-gui" role required | ||
| to operate the "/manager/html" web application. If you wish to use this app, | ||
| you must define such a user - the username and password are arbitrary. It is | ||
| strongly recommended that you do NOT use one of the users in the commented out | ||
| section below since they are intended for use with the examples web | ||
| application. | ||
| --> | ||
| <!-- | ||
| NOTE: The sample user and role entries below are intended for use with the | ||
| examples web application. They are wrapped in a comment and thus are ignored | ||
| when reading this file. If you wish to configure these users for use with the | ||
| examples web application, do not forget to remove the <!.. ..> that surrounds | ||
| them. You will also need to set the passwords to something appropriate. | ||
| --> | ||
| <!-- | ||
| <role rolename="tomcat"/> | ||
| <role rolename="role1"/> | ||
| <user username="tomcat" password="<must-be-changed>" roles="tomcat"/> | ||
| <user username="both" password="<must-be-changed>" roles="tomcat,role1"/> | ||
| <user username="role1" password="<must-be-changed>" roles="role1"/> | ||
| --> | ||
| </tomcat-users> |
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,51 @@ | ||
| <?xml version='1.0' encoding='utf-8'?> | ||
| <!-- | ||
| Licensed to the Apache Software Foundation (ASF) under one or more | ||
| contributor license agreements. See the NOTICE file distributed with | ||
| this work for additional information regarding copyright ownership. | ||
| The ASF licenses this file to You 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. | ||
| --> | ||
| <tomcat-users xmlns="http://tomcat.apache.org/xml" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd" | ||
| version="1.0"> | ||
| <role rolename="grouper_user"/> | ||
| <!--<user username="GrouperSystem" password="XXXXXXXXXX" roles="grouper_user"/>--> | ||
| <!-- | ||
| NOTE: By default, no user is included in the "manager-gui" role required | ||
| to operate the "/manager/html" web application. If you wish to use this app, | ||
| you must define such a user - the username and password are arbitrary. It is | ||
| strongly recommended that you do NOT use one of the users in the commented out | ||
| section below since they are intended for use with the examples web | ||
| application. | ||
| --> | ||
| <!-- | ||
| NOTE: The sample user and role entries below are intended for use with the | ||
| examples web application. They are wrapped in a comment and thus are ignored | ||
| when reading this file. If you wish to configure these users for use with the | ||
| examples web application, do not forget to remove the <!.. ..> that surrounds | ||
| them. You will also need to set the passwords to something appropriate. | ||
| --> | ||
| <!-- | ||
| <role rolename="tomcat"/> | ||
| <role rolename="role1"/> | ||
| <user username="tomcat" password="<must-be-changed>" roles="tomcat"/> | ||
| <user username="both" password="<must-be-changed>" roles="tomcat,role1"/> | ||
| <user username="role1" password="<must-be-changed>" roles="role1"/> | ||
| --> | ||
| <!-- Activate those lines to get access to TomEE GUI --> | ||
| <!-- | ||
| <role rolename="tomee-admin" /> | ||
| <user username="tomee" password="tomee" roles="tomee-admin,manager-gui" /> | ||
| --> | ||
| </tomcat-users> |
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,51 @@ | ||
| <?xml version='1.0' encoding='utf-8'?> | ||
| <!-- | ||
| Licensed to the Apache Software Foundation (ASF) under one or more | ||
| contributor license agreements. See the NOTICE file distributed with | ||
| this work for additional information regarding copyright ownership. | ||
| The ASF licenses this file to You 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. | ||
| --> | ||
| <tomcat-users xmlns="http://tomcat.apache.org/xml" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd" | ||
| version="1.0"> | ||
| <role rolename="grouper_user"/> | ||
| <user username="banderson" password="password" roles="grouper_user"/> | ||
| <!-- | ||
| NOTE: By default, no user is included in the "manager-gui" role required | ||
| to operate the "/manager/html" web application. If you wish to use this app, | ||
| you must define such a user - the username and password are arbitrary. It is | ||
| strongly recommended that you do NOT use one of the users in the commented out | ||
| section below since they are intended for use with the examples web | ||
| application. | ||
| --> | ||
| <!-- | ||
| NOTE: The sample user and role entries below are intended for use with the | ||
| examples web application. They are wrapped in a comment and thus are ignored | ||
| when reading this file. If you wish to configure these users for use with the | ||
| examples web application, do not forget to remove the <!.. ..> that surrounds | ||
| them. You will also need to set the passwords to something appropriate. | ||
| --> | ||
| <!-- | ||
| <role rolename="tomcat"/> | ||
| <role rolename="role1"/> | ||
| <user username="tomcat" password="<must-be-changed>" roles="tomcat"/> | ||
| <user username="both" password="<must-be-changed>" roles="tomcat,role1"/> | ||
| <user username="role1" password="<must-be-changed>" roles="role1"/> | ||
| --> | ||
| <!-- Activate those lines to get access to TomEE GUI --> | ||
| <!-- | ||
| <role rolename="tomee-admin" /> | ||
| <user username="tomee" password="tomee" roles="tomee-admin,manager-gui" /> | ||
| --> | ||
| </tomcat-users> |
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,30 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"> | ||
|
|
||
| <security-constraint> | ||
| <web-resource-collection> | ||
| <web-resource-name>Web services</web-resource-name> | ||
| <url-pattern>/*</url-pattern> | ||
| </web-resource-collection> | ||
| <auth-constraint> | ||
| <role-name>*</role-name> | ||
| </auth-constraint> | ||
| </security-constraint> | ||
|
|
||
| <!-- Define the Login Configuration for this Application --> | ||
| <login-config> | ||
| <auth-method>BASIC</auth-method> | ||
| <realm-name>Grouper Application</realm-name> | ||
| </login-config> | ||
|
|
||
| <!-- Security roles referenced by this web application --> | ||
| <security-role> | ||
| <description> | ||
| The role that is required to log in to web service | ||
| </description> | ||
| <role-name>*</role-name> | ||
| </security-role> | ||
|
|
||
| </web-app> |
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,46 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!-- | ||
| Licensed to the Apache Software Foundation (ASF) under one or more | ||
| contributor license agreements. See the NOTICE file distributed with | ||
| this work for additional information regarding copyright ownership. | ||
| The ASF licenses this file to You 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. | ||
| --> | ||
| <tomcat-users xmlns="http://tomcat.apache.org/xml" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd" | ||
| version="1.0"> | ||
| <role rolename="grouper_user"/> | ||
| <user username="banderson" password="password1" roles="grouper_user"/> | ||
| <!-- | ||
| NOTE: By default, no user is included in the "manager-gui" role required | ||
| to operate the "/manager/html" web application. If you wish to use this app, | ||
| you must define such a user - the username and password are arbitrary. It is | ||
| strongly recommended that you do NOT use one of the users in the commented out | ||
| section below since they are intended for use with the examples web | ||
| application. | ||
| --> | ||
| <!-- | ||
| NOTE: The sample user and role entries below are intended for use with the | ||
| examples web application. They are wrapped in a comment and thus are ignored | ||
| when reading this file. If you wish to configure these users for use with the | ||
| examples web application, do not forget to remove the <!.. ..> that surrounds | ||
| them. You will also need to set the passwords to something appropriate. | ||
| --> | ||
| <!-- | ||
| <role rolename="tomcat"/> | ||
| <role rolename="role1"/> | ||
| <user username="tomcat" password="<must-be-changed>" roles="tomcat"/> | ||
| <user username="both" password="<must-be-changed>" roles="tomcat,role1"/> | ||
| <user username="role1" password="<must-be-changed>" roles="role1"/> | ||
| --> | ||
| </tomcat-users> |
File renamed without changes.