gov.nih.nci.cagrid.authentication.service
Class DefaultSubjectProvider

java.lang.Object
  extended by gov.nih.nci.cagrid.authentication.service.DefaultSubjectProvider
All Implemented Interfaces:
SubjectProvider

public class DefaultSubjectProvider
extends java.lang.Object
implements SubjectProvider

Version:
$Revision: 1.5 $
Author:
Joshua Phillips

Constructor Summary
DefaultSubjectProvider()
           
 
Method Summary
 gov.nih.nci.security.AuthenticationManager getAuthenticationManager()
           
 javax.security.auth.Subject getSubject(Credential credential)
           
 void setAuthenticationManager(gov.nih.nci.security.AuthenticationManager authenticationManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSubjectProvider

public DefaultSubjectProvider()
Method Detail

getSubject

public javax.security.auth.Subject getSubject(Credential credential)
                                       throws InvalidCredentialException
Specified by:
getSubject in interface SubjectProvider
Throws:
InvalidCredentialException

getAuthenticationManager

public gov.nih.nci.security.AuthenticationManager getAuthenticationManager()

setAuthenticationManager

public void setAuthenticationManager(gov.nih.nci.security.AuthenticationManager authenticationManager)