public class

SubjectDelegator

extends Object
java.lang.Object
   ↳ com.sun.jmx.remote.security.SubjectDelegator

Summary

Public Constructors
SubjectDelegator()
Public Methods
synchronized static boolean checkRemoveCallerContext(Subject subject)
Check if the connector server creator can assume the identity of each principal in the authenticated subject, i.e.
synchronized AccessControlContext delegatedContext(AccessControlContext authenticatedACC, Subject delegatedSubject, boolean removeCallerContext)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SubjectDelegator ()

Public Methods

public static synchronized boolean checkRemoveCallerContext (Subject subject)

Check if the connector server creator can assume the identity of each principal in the authenticated subject, i.e. check if the connector server creator codebase contains a subject delegation permission for each principal present in the authenticated subject.

Returns
  • true if the connector server creator can delegate to all the authenticated principals in the subject. Otherwise, false.

public synchronized AccessControlContext delegatedContext (AccessControlContext authenticatedACC, Subject delegatedSubject, boolean removeCallerContext)