Class SecurityUserDetails.SecurityUserDetailsBuilder
java.lang.Object
com.cumulocity.microservice.security.service.SecurityUserDetails.SecurityUserDetailsBuilder
- Enclosing class:
- SecurityUserDetails
-
Method Summary
Modifier and TypeMethodDescriptionaccountNonExpired
(boolean accountNonExpired) accountNonLocked
(boolean accountNonLocked) authorities
(Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) authority
(org.springframework.security.core.GrantedAuthority authority) build()
credentials
(com.cumulocity.model.authentication.CumulocityCredentials credentials) credentialsNonExpired
(boolean credentialsNonExpired) enabled
(boolean enabled) toString()
-
Method Details
-
authority
public SecurityUserDetails.SecurityUserDetailsBuilder authority(org.springframework.security.core.GrantedAuthority authority) -
authorities
public SecurityUserDetails.SecurityUserDetailsBuilder authorities(Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) -
clearAuthorities
-
credentials
public SecurityUserDetails.SecurityUserDetailsBuilder credentials(com.cumulocity.model.authentication.CumulocityCredentials credentials) -
accountNonExpired
-
accountNonLocked
-
credentialsNonExpired
public SecurityUserDetails.SecurityUserDetailsBuilder credentialsNonExpired(boolean credentialsNonExpired) -
enabled
-
build
-
toString
-