@SuppressWarnings("rawtypes")
  public Auth authorizer(final String name, final String pattern,
      final Class<? extends Authorizer> authorizer) {
    authorizer(authorizer, name, pattern);
    return this;
  }
@SuppressWarnings("rawtypes")
  public Auth authorizer(final String name, final String pattern,
      final Class<? extends Authorizer> authorizer) {
    authorizer(authorizer, name, pattern);
    return this;
  }
@ SuppressWarnings ( "rawtypes" ) public Auth authorizer ( final String name , final String pattern , final Class < ? extends Authorizer > authorizer ) { authorizer ( authorizer , name , pattern ) ; return this ; }
Protect one or more urls with an {@link Authorizer}. For example:
<pre>
{
use(new Auth()
.form("*")
.authorizer("admin", "/admin/**", MyAuthorizer.class)
);
}
</pre>
<p>
Previous example will protect any url with form authentication and require and admin role for
<code>/admin/</code> or subpath of it.
</p>
<p>
NOTE: make sure url is protected by one pac4j client.
</p>

@param name Authorizer name.
@param pattern URL pattern to protected.
@param authorizer Authorizer to apply.
@return This module.
Protect one or more urls with an { @link Authorizer } . For example : <pre > { use ( new Auth () . form ( * ) . authorizer ( admin / admin / ** MyAuthorizer . class ) ) ; } < / pre > <p > Previous example will protect any url with form authentication and require and admin role for <code > / admin / < / code > or subpath of it . < / p > <p > NOTE : make sure url is protected by one pac4j client . < / p >