Class SecurityHelper


  • public abstract class SecurityHelper
    extends Object
    A collection of security-related utilities.
    Author:
    dag 2009.11.16
    • Field Detail

      • EMPTY_SUBJECT

        public static final Subject EMPTY_SUBJECT
        A subject that represents nobody.
    • Constructor Detail

      • SecurityHelper

        public SecurityHelper()
    • Method Detail

      • getCurrentSubject

        public static Subject getCurrentSubject()
        Return the Subject from the current security context.
        Returns:
        the current Subject.