org.gcube.security.soa3.connector.impl
Class SOA3SecurityController
java.lang.Object
org.gcube.security.soa3.connector.impl.SOA3SecurityController
- All Implemented Interfaces:
- GCUBESecurityController
public class SOA3SecurityController
- extends Object
- implements GCUBESecurityController
Implementation of the security controller for using the SOA3 Security Framework
- Author:
- Ciro Formisano (ENG)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOA3SecurityController
public SOA3SecurityController()
init
public void init(Map<String,String> parameters)
- Inits the controller
- Specified by:
init in interface GCUBESecurityController
checkAccess
public boolean checkAccess(Map<String,Object> parameters)
- Checks the access rights (authentication and authorization)
- Specified by:
checkAccess in interface GCUBESecurityController
- Parameters:
parameters - all the needed parameters
- Returns:
- true if the access is granted, false otherwise
isSecurityEnabled
public boolean isSecurityEnabled()
- Specified by:
isSecurityEnabled in interface GCUBESecurityController
- Returns:
setSecurityEnabled
public void setSecurityEnabled(boolean securityEnabled)
- Specified by:
setSecurityEnabled in interface GCUBESecurityController
Copyright © 2013. All Rights Reserved.