Package org.openiam.esb.am.service.impl
Class AuthResourceAttributeServiceImpl
- java.lang.Object
-
- org.openiam.esb.am.service.impl.AuthResourceAttributeServiceImpl
-
- All Implemented Interfaces:
AuthResourceAttributeService
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Service public class AuthResourceAttributeServiceImpl extends Object implements AuthResourceAttributeService, org.springframework.context.ApplicationContextAware
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.commons.logging.Log
log
-
Constructor Summary
Constructors Constructor Description AuthResourceAttributeServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthResourceAMAttributeEntity
getAmAttribute(String attributeId)
List<AuthResourceAMAttribute>
getAmAttributeList()
AuthResourceAttributeMap
getAttribute(String id)
List<AuthResourceAttributeMapEntity>
getAttributeMapList(String providerId)
List<SSOAttribute>
getSSOAttributes(String providerId, String userId)
void
removeAttributeMap(String id)
String
saveAttributeMap(AuthResourceAttributeMap attributeMap)
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
-
-
Method Detail
-
getAmAttribute
public AuthResourceAMAttributeEntity getAmAttribute(String attributeId)
- Specified by:
getAmAttribute
in interfaceAuthResourceAttributeService
-
getAmAttributeList
@Transactional(readOnly=true) public List<AuthResourceAMAttribute> getAmAttributeList()
- Specified by:
getAmAttributeList
in interfaceAuthResourceAttributeService
-
getAttributeMapList
public List<AuthResourceAttributeMapEntity> getAttributeMapList(String providerId)
- Specified by:
getAttributeMapList
in interfaceAuthResourceAttributeService
-
saveAttributeMap
@Transactional public String saveAttributeMap(AuthResourceAttributeMap attributeMap) throws BasicDataServiceException
- Specified by:
saveAttributeMap
in interfaceAuthResourceAttributeService
- Throws:
BasicDataServiceException
-
removeAttributeMap
@Transactional public void removeAttributeMap(String id) throws BasicDataServiceException
- Specified by:
removeAttributeMap
in interfaceAuthResourceAttributeService
- Throws:
BasicDataServiceException
-
getSSOAttributes
@Transactional(readOnly=true) public List<SSOAttribute> getSSOAttributes(String providerId, String userId)
- Specified by:
getSSOAttributes
in interfaceAuthResourceAttributeService
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
getAttribute
@Transactional(readOnly=true) public AuthResourceAttributeMap getAttribute(String id)
- Specified by:
getAttribute
in interfaceAuthResourceAttributeService
-
-