Class TkSecure

  • All Implemented Interfaces:
    org.takes.Take

    public final class TkSecure
    extends org.takes.tk.TkWrap
    Take that secures a page and redirects by default to login page.

    The class is immutable and thread-safe.

    Author:
    Olivier B. OURA (baudoliver7@gmail.com)
    • Constructor Detail

      • TkSecure

        public TkSecure​(org.takes.Take take)
        Ctor.
        Parameters:
        take - take to secure
      • TkSecure

        public TkSecure​(org.takes.Take take,
                        String location)
        Ctor.
        Parameters:
        take - take to secure
        location - Location to redirect