JDK 11 jdk.security.auth.jmod - Security Auth Module

JDK 11 jdk.security.auth.jmod is the JMOD file for JDK 11 Security Auth module.

JDK 11 Security Auth module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.security.auth.jmod.

JDK 11 Security Auth module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.

JDK 11 Security Auth module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.security.auth.

You can click and view the content of each source code file in the list below.

✍: FYIcenter

com/sun/security/auth/PrincipalComparator.java

/*
 * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */

package com.sun.security.auth;

/**
 * An object that implements the {@code java.security.Principal}
 * interface typically also implements this interface to provide
 * a means for comparing that object to a specified {@code Subject}.
 *
 * <p> The comparison is achieved via the {@code implies} method.
 * The implementation of the {@code implies} method determines
 * whether this object "implies" the specified {@code Subject}.
 * One example application of this method may be for
 * a "group" object to imply a particular {@code Subject}
 * if that {@code Subject} belongs to the group.
 * Another example application of this method would be for
 * "role" object to imply a particular {@code Subject}
 * if that {@code Subject} is currently acting in that role.
 *
 * <p> Although classes that implement this interface typically
 * also implement the {@code java.security.Principal} interface,
 * it is not required.  In other words, classes may implement the
 * {@code java.security.Principal} interface by itself,
 * the {@code PrincipalComparator} interface by itself,
 * or both at the same time.
 *
 * @see java.security.Principal
 * @see javax.security.auth.Subject
 */
public interface PrincipalComparator {
    /**
     * Check if the specified {@code Subject} is implied by
     * this object.
     *
     * @return true if the specified {@code Subject} is implied by
     *          this object, or false otherwise.
     */
    boolean implies(javax.security.auth.Subject subject);
}

com/sun/security/auth/PrincipalComparator.java

 

Or download all of them as a single archive file:

File name: jdk.security.auth-11.0.1-src.zip
File size: 65197 bytes
Release date: 2018-11-04
Download 

 

JDK 11 jdk.security.jgss.jmod - Security JGSS Module

JDK 11 jdk.sctp.jmod - SCTP Module

Download and Use JDK 11

⇑⇑ FAQ for JDK (Java Development Kit)

2020-04-14, 13375👍, 0💬