View Javadoc

1   package com.atlassian.plugins.rest.common.security;
2   
3   /**
4    * Exception thrown when a client tries to access a resources that requires authentication and the client is not authenticated.
5    *
6    * @see AnonymousAllowed
7    */
8   public class AuthenticationRequiredException extends SecurityException {
9       public AuthenticationRequiredException() {
10          super("Client must be authenticated to access this resource.");
11      }
12  }