1535N/A/*
2362N/A * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
1535N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1535N/A *
1535N/A * This code is free software; you can redistribute it and/or modify it
1535N/A * under the terms of the GNU General Public License version 2 only, as
2362N/A * published by the Free Software Foundation. Oracle designates this
1535N/A * particular file as subject to the "Classpath" exception as provided
2362N/A * by Oracle in the LICENSE file that accompanied this code.
1535N/A *
1535N/A * This code is distributed in the hope that it will be useful, but WITHOUT
1535N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1535N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1535N/A * version 2 for more details (a copy is included in the LICENSE file that
1535N/A * accompanied this code).
1535N/A *
1535N/A * You should have received a copy of the GNU General Public License version
1535N/A * 2 along with this work; if not, write to the Free Software Foundation,
1535N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1535N/A *
2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A * or visit www.oracle.com if you need additional information or have any
2362N/A * questions.
1535N/A */
1535N/A
1535N/Apackage com.sun.security.jgss;
1535N/A
1535N/Aimport java.security.BasicPermission;
1535N/A
1535N/A/**
1535N/A * This class is used to protect various attributes of an established
1535N/A * GSS security context that can be accessed using the
1535N/A * {@link com.sun.security.jgss.ExtendedGSSContext#inquireSecContext}
1535N/A * method.
1535N/A *
1535N/A * <p>The target name is the {@link InquireType} allowed.
1535N/A */
1535N/Apublic final class InquireSecContextPermission extends BasicPermission {
1535N/A
1535N/A /**
1535N/A * Constructs a new {@code InquireSecContextPermission} object with
1535N/A * the specified name. The name is the symbolic name of the
1535N/A * {@link InquireType} allowed.
1535N/A *
1535N/A * @param name the {@link InquireType} allowed by this
1535N/A * permission. "*" means all {@link InquireType}s are allowed.
1535N/A *
1535N/A * @throws NullPointerException if <code>name</code> is <code>null</code>.
1535N/A * @throws IllegalArgumentException if <code>name</code> is empty.
1535N/A */
1535N/A public InquireSecContextPermission(String name) {
1535N/A super(name);
1535N/A }
1535N/A}