]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - JcrUserDetails.java
f200a28a420bdc225314408b790366f617649082
1 package org
.argeo
.security
.jcr
;
3 import org
.springframework
.security
.GrantedAuthority
;
4 import org
.springframework
.security
.userdetails
.User
;
6 public class JcrUserDetails
extends User
{
7 private static final long serialVersionUID
= -3594542993773402380L;
8 private final String homePath
;
10 public JcrUserDetails(String homePath
, String username
, String password
,
11 boolean enabled
, boolean accountNonExpired
,
12 boolean credentialsNonExpired
, boolean accountNonLocked
,
13 GrantedAuthority
[] authorities
) throws IllegalArgumentException
{
14 super(username
, password
, enabled
, accountNonExpired
,
15 credentialsNonExpired
, accountNonLocked
, authorities
);
16 this.homePath
= homePath
;
19 public String
getHomePath() {