<commit_before>The definitive source of information about Shibboleth Identity Provider
installation is on the Shibboleth Wiki. The instructions there will guide
you through all the installatino and deployment options. This guide follows
a single path through the installation. It should not be considered a
substitute for reading the pages on the Shibboleth Wiki.

The Shibboleth Identity Provider installation documentation starts at
https://wiki.shibboleth.net/confluence/display/IDP30/Installation

This guide installs the following software:

* Shibboleth Identity Provider 3
* Oracle JDK 8
* Jetty servlet container 9.3

As of early 2016 the
[recommended system requirements](https://wiki.shibboleth.net/confluence/display/IDP30/SystemRequirements)
for Shibboleth Identity Provider installation were Oracle JDK and the Jetty
servlet container. These installation instructions guide the installation
of Shibboleth Identity Provider to use these dependencies.


# Reading

* Base instructions
 - https://wiki.shibboleth.net/confluence/display/IDP30/Installation
 - https://wiki.shibboleth.net/confluence/display/IDP30/Jetty93
 - https://wiki.shibboleth.net/confluence/display/IDP30/SecurityAndNetworking
 - http://www.eclipse.org/jetty/documentation/current/configuring-connectors.html#d0e4404
 - http://www.eclipse.org/jetty/documentation/current/startup-base-and-home.html


# Before installing

1. Read the
[Before You Begin](https://wiki.shibboleth.net/confluence/display/IDP30/Installation#Installation-BeforeYouBegin)
section of the Shibboleth Installation instructions.
2. Update your operating system. These instructions assume CentOS, so the update
command is:

    ```bash
    sudo yum update -y
    ```

# Install Oracle JDK

Start at http://www.oracle.com/technetwork/java/javase/downloads/index.html

Install the latest version of the Java 8 JDK (not the JRE). Also search the
page for "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction
Policy Files", which is also required. The Java version changes often enough
that it is impractical to list a specific version here.

For installation on CentOS consider using the RPM. That should make it easier
to upgrade to a newer version in the future.

Version current as of 15-Feb-2016
JDK_URL=http://download.oracle.com/otn-pub/java/jdk/8u74-b02/jdk-8u74-linux-x64.rpm
wget --no-cookies --no-check-certificate \
     --header "Cookie:oraclelicense=accept-securebackup-cookie" ${JDK_URL}

## Install JDK
sudo yum localinstall jdk-8u74-linux-x64.rpm

## Install the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files
See https://wiki.shibboleth.net/confluence/display/IDP30/Installation

Download from http://www.oracle.com/technetwork/java/javase/downloads/index.html, towards the bottom

```
unzip jce_policy-8.zip
cd UnlimitedJCEPolicyJDK8
sudo cp local_policy.jar /usr/java/jdk1.8.0_74/jre/lib/security/
sudo cp US_export_policy.jar /usr/java/jdk1.8.0_74/jre/lib/security/
```


# Install Jetty

Refer to the
[Jetty 9.3 installation instructions](https://wiki.shibboleth.net/confluence/display/IDP30/Jetty93)
on the Shibboleth Wiki.


Download Jetty from the [Jetty website](http://download.eclipse.org/jetty/).
Be sure to download the lates version of the 9.3 series. At this writing
that was version 9.3.7.v20160115.
<commit_msg>JDK & JCE bits<commit_after>The definitive source of information about Shibboleth Identity Provider
installation is on the Shibboleth Wiki. The instructions there will guide
you through all the installatino and deployment options. This guide follows
a single path through the installation. It should not be considered a
substitute for reading the pages on the Shibboleth Wiki.

The Shibboleth Identity Provider installation documentation starts at
https://wiki.shibboleth.net/confluence/display/IDP30/Installation

This guide installs the following software:

* Shibboleth Identity Provider 3
* Oracle JDK 8
* Jetty servlet container 9.3

As of early 2016 the
[recommended system requirements](https://wiki.shibboleth.net/confluence/display/IDP30/SystemRequirements)
for Shibboleth Identity Provider installation were Oracle JDK and the Jetty
servlet container. These installation instructions guide the installation
of Shibboleth Identity Provider to use these dependencies.


# Reading

* Base instructions
 - https://wiki.shibboleth.net/confluence/display/IDP30/Installation
 - https://wiki.shibboleth.net/confluence/display/IDP30/Jetty93
 - https://wiki.shibboleth.net/confluence/display/IDP30/SecurityAndNetworking
 - http://www.eclipse.org/jetty/documentation/current/configuring-connectors.html#d0e4404
 - http://www.eclipse.org/jetty/documentation/current/startup-base-and-home.html


# Before installing

1. Read the
[Before You Begin](https://wiki.shibboleth.net/confluence/display/IDP30/Installation#Installation-BeforeYouBegin)
section of the Shibboleth Installation instructions.
2. Update your operating system. These instructions assume CentOS, so the update
command is:

    ```bash
    sudo yum update -y
    ```

# Install Oracle JDK

Start at http://www.oracle.com/technetwork/java/javase/downloads/index.html

Install the latest version of the Java 8 JDK (not the JRE). Also search the
page for "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction
Policy Files", which is also required. The Java version changes often enough
that it is impractical to list a specific version here.

For installation on CentOS consider using the RPM. That should make it easier
to upgrade to a newer version in the future.

Version current as of 15-Feb-2016
JDK_URL=http://download.oracle.com/otn-pub/java/jdk/8u74-b02/jdk-8u74-linux-x64.rpm
wget --no-cookies --no-check-certificate \
     --header "Cookie:oraclelicense=accept-securebackup-cookie" ${JDK_URL}

## Install JDK

```bash
sudo yum localinstall jdk-8u74-linux-x64.rpm
```

## Install the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files

See https://wiki.shibboleth.net/confluence/display/IDP30/Installation for
more information about this *required* component.

Download from
http://www.oracle.com/technetwork/java/javase/downloads/index.html,
towards the bottom. Once unpacked, installation instructions can be found
in a file named `README.txt`.

```bash
# Adjust JDK_HOME as needed
export JDK_HOME=/usr/java/jdk1.8.0_74

unzip jce_policy-8.zip
cd UnlimitedJCEPolicyJDK8
sudo cp local_policy.jar "${JDK_HOME}"/jre/lib/security/
sudo cp US_export_policy.jar "${JDK_HOME}"/jre/lib/security/
```


# Install Jetty

Refer to the
[Jetty 9.3 installation instructions](https://wiki.shibboleth.net/confluence/display/IDP30/Jetty93)
on the Shibboleth Wiki.


Download Jetty from the [Jetty website](http://download.eclipse.org/jetty/).
Be sure to download the lates version of the 9.3 series. At this writing
that was version 9.3.7.v20160115.

{'fraction_non_alphanumeric': 0.0844108673543513, 'fraction_numerical': 0.023681534214731948, 'mean_word_length': 4.775167785234899, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 16, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4080163', 'n_tokens_mistral': 2290, 'n_tokens_neox': 2076, 'n_words': 657}