=============================================
[SIDP-247] - Log Exception in UP LoginHandler Servlet
[SIDP-263] - Suggest adding defaultSigningCredentialRef to the AnonymousRelyingParty element in the default config
+[SIDP-261] - IPAddressLoginHandler addresses comparasion fails
[SIDP-276] - Example RDB Connector, quote principal
[SIDP-277] - Incorrect null check for request context in UsernamePasswordServlet
[SIDP-279] - IdP should log NameID for auditing
<dependency>
<groupId>edu.internet2.middleware</groupId>
<artifactId>shibboleth-jce</artifactId>
- <version>1.0.0</version>
+ <version>1.1.0</version>
<scope>runtime</scope>
- <exclusions>
- <exclusion>
- <groupId>tomcat</groupId>
- <artifactId>catalina</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<!-- Test dependencies -->
networkAddress = byteArrayToBitSet(tempAddr.getAddress());
int masklen = Integer.parseInt(netmaskString);
- int addrlen = networkAddress.length();
+
+ int addrlen;
+ if (tempAddr instanceof Inet4Address) {
+ addrlen = 32;
+ } else if (tempAddr instanceof Inet6Address) {
+ addrlen = 128;
+ }else{
+ throw new UnknownHostException("Unable to determine Inet protocol version");
+ }
// ensure that the netmask isn't too large
if ((tempAddr instanceof Inet4Address) && (masklen > 32)) {