You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.3 KiB
57 lines
1.3 KiB
/*
|
|
* Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
|
|
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*/
|
|
|
|
package com.sun.security.jgss;
|
|
|
|
import java.security.BasicPermission;
|
|
|
|
/**
|
|
* This class is used to protect various attributes of an established
|
|
* GSS security context that can be accessed using the
|
|
* {@link com.sun.security.jgss.ExtendedGSSContext#inquireSecContext}
|
|
* method.
|
|
*
|
|
* <p>The target name is the {@link InquireType} allowed.
|
|
*/
|
|
@jdk.Exported
|
|
public final class InquireSecContextPermission extends BasicPermission {
|
|
private static final long serialVersionUID = -7131173349668647297L;
|
|
|
|
/**
|
|
* Constructs a new {@code InquireSecContextPermission} object with
|
|
* the specified name. The name is the symbolic name of the
|
|
* {@link InquireType} allowed.
|
|
*
|
|
* @param name the {@link InquireType} allowed by this
|
|
* permission. "*" means all {@link InquireType}s are allowed.
|
|
*
|
|
* @throws NullPointerException if <code>name</code> is <code>null</code>.
|
|
* @throws IllegalArgumentException if <code>name</code> is empty.
|
|
*/
|
|
public InquireSecContextPermission(String name) {
|
|
super(name);
|
|
}
|
|
}
|