站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 server API Documentation 英文版文档

AuthenticationManager (JBoss Server API) - JBoss 3.2.7 server API Documentation 英文版文档


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.