< prev index next >

src/java.security.jgss/share/classes/org/ietf/jgss/GSSCredential.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 55,65 **** * the credential object and to destroy any cryptographically sensitive * information.<p> * * This example code demonstrates the creation of a GSSCredential * implementation for a specific entity, querying of its fields, and its ! * release when it is no longer needed:<p> * <pre> * GSSManager manager = GSSManager.getInstance(); * * // start by creating a name object for the entity * GSSName name = manager.createName("myusername", GSSName.NT_USER_NAME); --- 55,65 ---- * the credential object and to destroy any cryptographically sensitive * information.<p> * * This example code demonstrates the creation of a GSSCredential * implementation for a specific entity, querying of its fields, and its ! * release when it is no longer needed: * <pre> * GSSManager manager = GSSManager.getInstance(); * * // start by creating a name object for the entity * GSSName name = manager.createName("myusername", GSSName.NT_USER_NAME);
< prev index next >