nl.surfnet.coin.selfservice.dao.impl
Class ConsentDaoImpl

java.lang.Object
  extended by nl.surfnet.coin.selfservice.dao.impl.ConsentDaoImpl
All Implemented Interfaces:
ConsentDao

@Repository
public class ConsentDaoImpl
extends Object
implements ConsentDao

SQL implementation of ConsentDao


Constructor Summary
ConsentDaoImpl()
           
 
Method Summary
 Boolean mayHaveGivenConsent(String uuid, String spEntityId)
          Check if the user has given consent for this service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsentDaoImpl

public ConsentDaoImpl()
Method Detail

mayHaveGivenConsent

public Boolean mayHaveGivenConsent(String uuid,
                                   String spEntityId)
Description copied from interface: ConsentDao
Check if the user has given consent for this service

Specified by:
mayHaveGivenConsent in interface ConsentDao
Parameters:
uuid - unique identifier of the user in format urn:collab:person:example.edu:johndoe
spEntityId - unique identifier of the service provider
Returns:
Boolean.TRUE if we can find consent, Boolean.FALSE if not or null if we're not sure


Copyright © 2012 SURFnet bv, The Netherlands. All Rights Reserved.