Skip to content

Commit

Permalink
Cf 2.0.0-M10 integration : PskStore API break (new SNI support)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed May 24, 2018
1 parent e57c417 commit 4870669
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,9 @@ public String getIdentity(InetSocketAddress inetAddress) {
return null;
}

@Override
public String getIdentity(InetSocketAddress peerAddress, ServerNames virtualHost) {
// TODO should we support SNI ?
throw new UnsupportedOperationException();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,10 @@ public byte[] getKey(ServerNames serverNames, String identity) {
public String getIdentity(InetSocketAddress inetAddress) {
throw new UnsupportedOperationException("Getting PSK Id by IP addresss dos not make sense on BS server side.");
}

@Override
public String getIdentity(InetSocketAddress peerAddress, ServerNames virtualHost) {
// TODO should we support SNI ?
throw new UnsupportedOperationException();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,10 @@ public String getIdentity(InetSocketAddress inetAddress) {
}
return null;
}

@Override
public String getIdentity(InetSocketAddress peerAddress, ServerNames virtualHost) {
// TODO should we support SNI ?
throw new UnsupportedOperationException();
}
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Contributors:
<test.exclusion.pattern>**/Redis*.java</test.exclusion.pattern>

<!-- dependencies version -->
<californium.version>2.0.0-M9</californium.version>
<californium.version>2.0.0-M10</californium.version>
<logback.version>1.2.3</logback.version>
<slf4j.api.version>1.7.25</slf4j.api.version>
<jetty.version>9.1.4.v20140401</jetty.version>
Expand Down

0 comments on commit 4870669

Please sign in to comment.