org.exoplatform.ws.security.oauth
Interface OAuthTokenCleaner

All Known Implementing Classes:
OAuthTokenCleanerImpl

public interface OAuthTokenCleaner

Must check collection of tokens and remove all expired tokens from it.

Version:
$Id: $
Author:
Andrey Parfonov

Method Summary
 void clean()
          Looking for expired tokens and remove it.
 void setTokens(java.util.Set<net.oauth.OAuthAccessor> tokens)
           
 

Method Detail

clean

void clean()
Looking for expired tokens and remove it.


setTokens

void setTokens(java.util.Set<net.oauth.OAuthAccessor> tokens)
Parameters:
tokens - the Collection of tokens which must be under control.


Copyright © 2011 eXo Platform SAS. All Rights Reserved.