javax.security.auth.message.callback
Class CallerPrincipalCallback
java.lang.Object
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) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CallerPrincipalCallback
public CallerPrincipalCallback(Subject subject,
Principal principal)
CallerPrincipalCallback
public CallerPrincipalCallback(Subject subject,
String name)
getSubject
public Subject getSubject()
getPrincipal
public Principal getPrincipal()
getName
public String getName()
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.