6670362: HTTP/SPNEGO should work across realms
Reviewed-by: valeriep
This commit is contained in:
parent
99370e418f
commit
2aadb6cde1
@ -91,9 +91,10 @@ public class NegotiatorImpl extends Negotiator {
|
|||||||
GSSManagerImpl manager = new GSSManagerImpl(
|
GSSManagerImpl manager = new GSSManagerImpl(
|
||||||
GSSUtil.CALLER_HTTP_NEGOTIATE);
|
GSSUtil.CALLER_HTTP_NEGOTIATE);
|
||||||
|
|
||||||
String peerName = "HTTP/" + hostname;
|
String peerName = "HTTP@" + hostname;
|
||||||
|
|
||||||
GSSName serverName = manager.createName(peerName, null);
|
GSSName serverName = manager.createName(peerName,
|
||||||
|
GSSName.NT_HOSTBASED_SERVICE);
|
||||||
context = manager.createContext(serverName,
|
context = manager.createContext(serverName,
|
||||||
oid,
|
oid,
|
||||||
null,
|
null,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user