org.springframework.extensions.webscripts
Interface Authenticator

All Known Implementing Classes:
BasicHttpAuthenticatorFactory.BasicHttpAuthenticator

public interface Authenticator

Web Script Authenticator for the HTTP Servlet environment

Author:
davidc

Method Summary
 boolean authenticate(Description.RequiredAuthentication required, boolean isGuest)
          Authenticate Web Script execution
 boolean emptyCredentials()
          Are credentials set in the request ?
 

Method Detail

authenticate

boolean authenticate(Description.RequiredAuthentication required,
                     boolean isGuest)
Authenticate Web Script execution

Parameters:
required - required level of authentication
isGuest - is Guest accessing the web script
Returns:
true if authorised to execute the script, false otherwise

emptyCredentials

boolean emptyCredentials()
Are credentials set in the request ?

Returns:
true if credentials are empty
Since:
3.2


Copyright © 2009 SpringSource, Inc. All Rights Reserved.