@Component @Transactional(rollbackFor=java.lang.Throwable.class) public class UserDataBinderImpl extends Object implements UserDataBinder
Modifier and Type | Field and Description |
---|---|
protected AnyObjectDAO |
anyObjectDAO |
protected AnyTypeClassDAO |
anyTypeClassDAO |
protected AnyUtilsFactory |
anyUtilsFactory |
protected DerAttrHandler |
derAttrHandler |
protected EntityFactory |
entityFactory |
protected GroupDAO |
groupDAO |
protected IntAttrNameParser |
intAttrNameParser |
protected static org.slf4j.Logger |
LOG |
protected MappingManager |
mappingManager |
protected OutboundMatcher |
outboundMatcher |
protected PlainAttrDAO |
plainAttrDAO |
protected PlainAttrValueDAO |
plainAttrValueDAO |
protected PlainSchemaDAO |
plainSchemaDAO |
protected RealmDAO |
realmDAO |
protected RelationshipTypeDAO |
relationshipTypeDAO |
protected ExternalResourceDAO |
resourceDAO |
protected UserDAO |
userDAO |
protected PlainAttrValidationManager |
validator |
protected VirAttrHandler |
virAttrHandler |
Constructor and Description |
---|
UserDataBinderImpl() |
protected static final org.slf4j.Logger LOG
@Autowired protected RealmDAO realmDAO
@Autowired protected AnyTypeClassDAO anyTypeClassDAO
@Autowired protected AnyObjectDAO anyObjectDAO
@Autowired protected UserDAO userDAO
@Autowired protected GroupDAO groupDAO
@Autowired protected PlainSchemaDAO plainSchemaDAO
@Autowired protected PlainAttrDAO plainAttrDAO
@Autowired protected PlainAttrValueDAO plainAttrValueDAO
@Autowired protected ExternalResourceDAO resourceDAO
@Autowired protected RelationshipTypeDAO relationshipTypeDAO
@Autowired protected EntityFactory entityFactory
@Autowired protected AnyUtilsFactory anyUtilsFactory
@Autowired protected DerAttrHandler derAttrHandler
@Autowired protected VirAttrHandler virAttrHandler
@Autowired protected MappingManager mappingManager
@Autowired protected IntAttrNameParser intAttrNameParser
@Autowired protected OutboundMatcher outboundMatcher
@Autowired protected PlainAttrValidationManager validator
@Transactional(readOnly=true) public UserTO getAuthenticatedUserTO()
getAuthenticatedUserTO
in interface UserDataBinder
public void create(User user, UserTO userTO, boolean storePassword)
create
in interface UserDataBinder
public Pair<PropagationByResource<String>,PropagationByResource<Pair<String,String>>> update(User toBeUpdated, UserPatch userPatch)
UserDataBinder
UserPatch
.update
in interface UserDataBinder
toBeUpdated
- user to be updateduserPatch
- bean containing update requestPropagationByResource
@Transactional(readOnly=true) public LinkedAccountTO getLinkedAccountTO(LinkedAccount account)
getLinkedAccountTO
in interface UserDataBinder
@Transactional(readOnly=true) public UserTO getUserTO(User user, boolean details)
getUserTO
in interface UserDataBinder
@Transactional(readOnly=true) public UserTO getUserTO(String key)
getUserTO
in interface UserDataBinder
protected Map<String,ConnObjectTO> onResources(Any<?> any, Collection<String> resources, String password, boolean changePwd)
protected PlainSchema getPlainSchema(String schemaName)
protected void fillAttr(List<String> values, AnyUtils anyUtils, PlainSchema schema, PlainAttr<?> attr, SyncopeClientException invalidValues)
protected void processAttrPatch(Any any, AttrPatch patch, PlainSchema schema, PlainAttr<?> attr, AnyUtils anyUtils, SyncopeClientException invalidValues)
protected void fill(Any any, AnyPatch anyPatch, AnyUtils anyUtils, SyncopeClientCompositeException scce)
protected PropagationByResource<String> propByRes(Map<String,ConnObjectTO> before, Map<String,ConnObjectTO> after)
protected void fill(Any any, AnyTO anyTO, AnyUtils anyUtils, SyncopeClientCompositeException scce)
protected void fill(Any any, Membership membership, MembershipTO membershipTO, AnyUtils anyUtils, SyncopeClientCompositeException scce)
protected void fillTO(AnyTO anyTO, String realmFullPath, Collection<? extends AnyTypeClass> auxClasses, Collection<? extends PlainAttr<?>> plainAttrs, Map<DerSchema,String> derAttrs, Map<VirSchema,List<String>> virAttrs, Collection<? extends ExternalResource> resources, boolean details)
protected RelationshipTO getRelationshipTO(String relationshipType, AnyObject otherEnd)
protected MembershipTO getMembershipTO(Collection<? extends PlainAttr<?>> plainAttrs, Map<DerSchema,String> derAttrs, Map<VirSchema,List<String>> virAttrs, Membership<? extends Any<?>> membership)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.