< prev index next >

## src/java.base/share/classes/javax/security/auth/SubjectDomainCombiner.java

Print this page

    @@ -37,11 +37,17 @@
       * A {@code SubjectDomainCombiner} updates ProtectionDomains
       * with Principals from the {@code Subject} associated with this
       * {@code SubjectDomainCombiner}.
       *
       * @since 1.4
    +  * @deprecated This class is only useful in conjunction with
    +  *       {@linkplain SecurityManager the Security Manager}, which is deprecated
    +  *       and subject to removal in a future release. Consequently, this class
    +  *       is also deprecated and subject to removal. There is no replacement for
    +  *       the Security Manager or this class.
       */
    + @Deprecated(since="17", forRemoval=true)
      public class SubjectDomainCombiner implements java.security.DomainCombiner {

          private Subject subject;
          private WeakKeyValueMap<ProtectionDomain, ProtectionDomain> cachedPDs =
                      new WeakKeyValueMap<>();

< prev index next >