fr.paris.lutece.plugins.extend.modules.rating.service.security
Class RatingSecurityService

java.lang.Object
  extended by fr.paris.lutece.plugins.extend.modules.rating.service.security.RatingSecurityService
All Implemented Interfaces:
IRatingSecurityService

public class RatingSecurityService
extends java.lang.Object
implements IRatingSecurityService

RatingSecurityService


Field Summary
static java.lang.String BEAN_SERVICE
          The Constant BEAN_SERVICE.
 
Constructor Summary
RatingSecurityService()
           
 
Method Summary
 boolean canVote(javax.servlet.http.HttpServletRequest request, java.lang.String strIdExtendableResource, java.lang.String strExtendableResourceType)
          Check if the given user (authenticated or not) can vote or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEAN_SERVICE

public static final java.lang.String BEAN_SERVICE
The Constant BEAN_SERVICE.

See Also:
Constant Field Values
Constructor Detail

RatingSecurityService

public RatingSecurityService()
Method Detail

canVote

public boolean canVote(javax.servlet.http.HttpServletRequest request,
                       java.lang.String strIdExtendableResource,
                       java.lang.String strExtendableResourceType)
Check if the given user (authenticated or not) can vote or not.

Specified by:
canVote in interface IRatingSecurityService
Parameters:
request - the request
strIdExtendableResource - the str id extendable resource
strExtendableResourceType - the str extendable resource type
Returns:
true, if successful


Copyright © 2012 Mairie de Paris. All Rights Reserved.