org.jboss.security
Interface AuthenticationManager

All Known Subinterfaces:
SecurityDomain, SubjectSecurityManager
All Known Implementing Classes:
NullSecurityManager

public interface AuthenticationManager

The SecurityManager is responsible for validating credentials associated with principals.

Version:
$Revision: 1.2 $
Author:
Scott.Stark@jboss.org

Method Summary
 boolean isValid(Principal principal, Object credential)
          The isValid method is invoked to see if a user identity and associated credentials as known in the operational environment are valid proof of the user identity.
 

Method Detail

isValid

public boolean isValid(Principal principal,
                       Object credential)
The isValid method is invoked to see if a user identity and associated credentials as known in the operational environment are valid proof of the user identity.

Returns:
true if the principal, credential pair is valid, false otherwise.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.