javax.security.auth.message.callback
Class CallerPrincipalCallback

java.lang.Object
  extended by javax.security.auth.message.callback.CallerPrincipalCallback
All Implemented Interfaces:
Callback

public class CallerPrincipalCallback
extends Object
implements Callback

Callback that enables an authentication module to inform the runtime of the call principal or name of the caller principal.

Version:
$Rev: 617352 $ $Date: 2008-01-31 21:16:16 -0800 (Thu, 31 Jan 2008) $

Constructor Summary
CallerPrincipalCallback(Subject subject, Principal principal)
           
CallerPrincipalCallback(Subject subject, String name)
           
 
Method Summary
 String getName()
           
 Principal getPrincipal()
           
 Subject getSubject()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallerPrincipalCallback

public CallerPrincipalCallback(Subject subject,
                               Principal principal)

CallerPrincipalCallback

public CallerPrincipalCallback(Subject subject,
                               String name)
Method Detail

getSubject

public Subject getSubject()

getPrincipal

public Principal getPrincipal()

getName

public String getName()


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.