Class JaccDelegatingPolicy


  • public class JaccDelegatingPolicy
    extends Policy

    A Policy implementation that knows how to process JACC permissions.

    Elytron's JACC implementation is fully integrated with the Permission Mapping API, which allows users to specify custom permissions for a SecurityDomain and its identities by configuring a PermissionMapper. In this case, the permissions are evaluated considering both JACC-specific permissions (as defined by the specs) and also the ones associated with the current and authorized SecurityIdentity.

    Author:
    Pedro Igor
    • Constructor Detail

      • JaccDelegatingPolicy

        public JaccDelegatingPolicy()
        Create a new instance. In this case, the current policy will be automatically obtained and used to delegate method calls.
      • JaccDelegatingPolicy

        public JaccDelegatingPolicy​(Policy delegate)
        Create a new instance based on the given delegate.
        Parameters:
        delegate - the policy that will be used to delegate method calls