javax.security.auth.message.callback
Class GroupPrincipalCallback

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

public class GroupPrincipalCallback
extends Object
implements Callback

Callback that enables an authentication module to inform the runtime of the groups a user is in.

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

Constructor Summary
GroupPrincipalCallback(Subject subject, String[] groups)
           
 
Method Summary
 String[] getGroups()
           
 Subject getSubject()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupPrincipalCallback

public GroupPrincipalCallback(Subject subject,
                              String[] groups)
Method Detail

getSubject

public Subject getSubject()

getGroups

public String[] getGroups()


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