Package org.gluu.oxauth.uma.service
Class UmaPctService
- java.lang.Object
-
- org.gluu.oxauth.uma.service.UmaPctService
-
@ApplicationScoped public class UmaPctService extends java.lang.Object
- Author:
- yuriyz on 05/31/2017.
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_PCT_LIFETIME
-
Constructor Summary
Constructors Constructor Description UmaPctService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBranch()
java.lang.String
branchBaseDn()
UmaPCT
createPct(java.lang.String clientId)
UmaPCT
createPctAndPersist(java.lang.String clientId)
java.lang.String
dn(java.lang.String pctCode)
UmaPCT
getByCode(java.lang.String pctCode)
void
merge(UmaPCT pct)
int
pctLifetime()
void
persist(UmaPCT pct)
void
remove(java.lang.String pctCode)
void
remove(java.util.List<UmaPCT> pctList)
void
remove(UmaPCT umaPCT)
UmaPCT
updateClaims(UmaPCT pct, Jwt idToken, java.lang.String clientId, java.util.List<UmaPermission> permissions)
-
-
-
Field Detail
-
DEFAULT_PCT_LIFETIME
public static final int DEFAULT_PCT_LIFETIME
- See Also:
- Constant Field Values
-
-
Method Detail
-
updateClaims
public UmaPCT updateClaims(UmaPCT pct, Jwt idToken, java.lang.String clientId, java.util.List<UmaPermission> permissions)
-
getByCode
public UmaPCT getByCode(java.lang.String pctCode)
-
createPct
public UmaPCT createPct(java.lang.String clientId)
-
createPctAndPersist
public UmaPCT createPctAndPersist(java.lang.String clientId)
-
pctLifetime
public int pctLifetime()
-
persist
public void persist(UmaPCT pct)
-
remove
public void remove(UmaPCT umaPCT)
-
remove
public void remove(java.lang.String pctCode)
-
remove
public void remove(java.util.List<UmaPCT> pctList)
-
addBranch
public void addBranch()
-
dn
public java.lang.String dn(java.lang.String pctCode)
-
branchBaseDn
public java.lang.String branchBaseDn()
-
merge
public void merge(UmaPCT pct)
-
-