@Service(value="userDetailsService") public class UserProfileServiceImpl extends Object implements UserProfileService, org.springframework.security.core.userdetails.UserDetailsService
DOT_CLASS, OPERATION_GET_PRINCIPAL, OPERATION_UPDATE_USER
Constructor and Description |
---|
UserProfileServiceImpl() |
Modifier and Type | Method and Description |
---|---|
MidPointPrincipal |
getPrincipal(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.UserType> user) |
MidPointPrincipal |
getPrincipal(String username) |
org.springframework.security.core.userdetails.UserDetails |
loadUserByUsername(String username) |
<F extends com.evolveum.midpoint.xml.ns._public.common.common_3.FocusType,O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
resolveOwner(PrismObject<O> object) |
void |
updateUser(MidPointPrincipal principal) |
public MidPointPrincipal getPrincipal(String username) throws ObjectNotFoundException
getPrincipal
in interface UserProfileService
ObjectNotFoundException
public MidPointPrincipal getPrincipal(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.UserType> user)
getPrincipal
in interface UserProfileService
public void updateUser(MidPointPrincipal principal)
updateUser
in interface UserProfileService
public <F extends com.evolveum.midpoint.xml.ns._public.common.common_3.FocusType,O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> PrismObject<F> resolveOwner(PrismObject<O> object)
resolveOwner
in interface OwnerResolver
public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String username) throws org.springframework.security.core.userdetails.UsernameNotFoundException
loadUserByUsername
in interface org.springframework.security.core.userdetails.UserDetailsService
org.springframework.security.core.userdetails.UsernameNotFoundException
Copyright © 2016 evolveum. All rights reserved.