equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
24 */ |
24 */ |
25 |
25 |
26 |
26 |
27 package com.sun.security.sasl.gsskerb; |
27 package com.sun.security.sasl.gsskerb; |
28 |
28 |
29 import java.io.IOException; |
|
30 import java.util.Map; |
29 import java.util.Map; |
31 import java.util.logging.Logger; |
|
32 import java.util.logging.Level; |
30 import java.util.logging.Level; |
33 import javax.security.sasl.*; |
31 import javax.security.sasl.*; |
34 import com.sun.security.sasl.util.AbstractSaslImpl; |
32 import com.sun.security.sasl.util.AbstractSaslImpl; |
35 import org.ietf.jgss.*; |
33 import org.ietf.jgss.*; |
36 |
34 |
48 |
46 |
49 protected GSSContext secCtx = null; |
47 protected GSSContext secCtx = null; |
50 protected MessageProp msgProp; // QOP and privacy for unwrap |
48 protected MessageProp msgProp; // QOP and privacy for unwrap |
51 protected static final int JGSS_QOP = 0; // unrelated to SASL QOP mask |
49 protected static final int JGSS_QOP = 0; // unrelated to SASL QOP mask |
52 |
50 |
53 protected GssKrb5Base(Map props, String className) throws SaslException { |
51 protected GssKrb5Base(Map<String, ?> props, String className) |
|
52 throws SaslException { |
54 super(props, className); |
53 super(props, className); |
55 } |
54 } |
56 |
55 |
57 /** |
56 /** |
58 * Retrieves this mechanism's name. |
57 * Retrieves this mechanism's name. |