equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2009, 2018, 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 |
32 */ |
32 */ |
33 public class GSSCaller { |
33 public class GSSCaller { |
34 public static final GSSCaller CALLER_UNKNOWN = new GSSCaller("UNKNOWN"); |
34 public static final GSSCaller CALLER_UNKNOWN = new GSSCaller("UNKNOWN"); |
35 public static final GSSCaller CALLER_INITIATE = new GSSCaller("INITIATE"); |
35 public static final GSSCaller CALLER_INITIATE = new GSSCaller("INITIATE"); |
36 public static final GSSCaller CALLER_ACCEPT = new GSSCaller("ACCEPT"); |
36 public static final GSSCaller CALLER_ACCEPT = new GSSCaller("ACCEPT"); |
37 public static final GSSCaller CALLER_SSL_CLIENT = new GSSCaller("SSL_CLIENT"); |
|
38 public static final GSSCaller CALLER_SSL_SERVER = new GSSCaller("SSL_SERVER"); |
|
39 |
37 |
40 private String name; |
38 private String name; |
41 GSSCaller(String s) { |
39 GSSCaller(String s) { |
42 name = s; |
40 name = s; |
43 } |
41 } |