edu.internet2.middleware.grouper.ws.security
Class GrouperWssecSample

java.lang.Object
  extended by edu.internet2.middleware.grouper.ws.security.GrouperWssecSample
All Implemented Interfaces:
GrouperWssecAuthentication

public class GrouperWssecSample
extends Object
implements GrouperWssecAuthentication

sample implementation of wssec


Constructor Summary
GrouperWssecSample()
           
 
Method Summary
 boolean authenticate(org.apache.ws.security.WSPasswordCallback wsPasswordCallback)
           authenticate the user, and find the subject and return.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrouperWssecSample

public GrouperWssecSample()
Method Detail

authenticate

public boolean authenticate(org.apache.ws.security.WSPasswordCallback wsPasswordCallback)
                     throws IOException
Description copied from interface: GrouperWssecAuthentication
 authenticate the user, and find the subject and return.
 See GrouperWssecSample for an example
 

Specified by:
authenticate in interface GrouperWssecAuthentication
Returns:
true if that callback type is supported, false if not
Throws:
IOException - if there is a problem or if user is not authenticated correctly
See Also:
GrouperWssecAuthentication.authenticate(org.apache.ws.security.WSPasswordCallback)