Ignore:
Timestamp:
01/09/14 17:02:09 (10 years ago)
Author:
olhsha
Message:

shibbolized

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/main/java/eu/dasish/annotation/backend/rest/TargetResource.java

    r4217 r4245  
    4545import javax.xml.parsers.ParserConfigurationException;
    4646import org.springframework.beans.factory.annotation.Autowired;
    47 import org.springframework.security.access.annotation.Secured;
    4847import org.springframework.stereotype.Component;
    4948import org.springframework.transaction.annotation.Transactional;
     
    8281    @Produces(MediaType.TEXT_XML)
    8382    @Path("{targetid: " + BackendConstants.regExpIdentifier + "}")
    84     @Secured("ROLE_USER")
    8583    @Transactional(readOnly = true)
    8684    public JAXBElement<Target> getTarget(@PathParam("targetid") String ExternalIdentifier) throws SQLException, IOException {
     
    10098    @Produces(MediaType.TEXT_XML)
    10199    @Path("{targetid: " + BackendConstants.regExpIdentifier + "}/versions")
    102     @Secured("ROLE_USER")
    103100    @Transactional(readOnly = true)
    104101    public JAXBElement<ReferenceList> getSiblingTargets(@PathParam("targetid") String ExternalIdentifier) throws SQLException, IOException {
     
    133130    @Produces(MediaType.APPLICATION_XML)
    134131    @Path("{targetid: " + BackendConstants.regExpIdentifier + "}/fragment/{fragmentDescriptor}/cached")
    135     @Secured("ROLE_USER")
    136132    public JAXBElement<CachedRepresentationInfo> postCached(@PathParam("targetid") String targetIdentifier,
    137133            @PathParam("fragmentDescriptor") String fragmentDescriptor,
     
    151147    @DELETE
    152148    @Path("{targetid: " + BackendConstants.regExpIdentifier + "}/cached/{cachedid: " + BackendConstants.regExpIdentifier + "}")
    153     @Secured("ROLE_ADMIN")
    154149    public String deleteCachedForTarget(@PathParam("targetid") String targetExternalIdentifier,
    155150            @PathParam("cachedid") String cachedExternalIdentifier) throws SQLException, IOException {
Note: See TracChangeset for help on using the changeset viewer.