Package io.jans.as.server.service
Class SectorIdentifierService
- java.lang.Object
-
- io.jans.as.server.service.SectorIdentifierService
-
@Named public class SectorIdentifierService extends Object
- Version:
- February 11, 2022
- Author:
- Javier Rojas Blum
-
-
Field Summary
Fields Modifier and Type Field Description protected io.jans.as.model.configuration.AppConfiguration
appConfiguration
-
Constructor Summary
Constructors Constructor Description SectorIdentifierService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDnForSectorIdentifier(String jsId)
Build DN string for sector identifierio.jans.as.persistence.model.SectorIdentifier
getSectorIdentifierById(String jsId)
Get sector identifier by jsIdString
getSub(io.jans.as.common.model.registration.Client client, io.jans.as.common.model.common.User user, boolean isCibaGrant)
String
getSub(IAuthorizationGrant grant)
-
-
-
Method Detail
-
getSectorIdentifierById
public io.jans.as.persistence.model.SectorIdentifier getSectorIdentifierById(String jsId)
Get sector identifier by jsId- Parameters:
jsId
- Sector identifier jsId- Returns:
- Sector identifier
-
getDnForSectorIdentifier
public String getDnForSectorIdentifier(String jsId)
Build DN string for sector identifier- Parameters:
jsId
- Sector Identifier jsId- Returns:
- DN string for specified sector identifier or DN for sector identifiers branch if jsId is null
- Throws:
Exception
-
getSub
public String getSub(IAuthorizationGrant grant)
-
getSub
public String getSub(io.jans.as.common.model.registration.Client client, io.jans.as.common.model.common.User user, boolean isCibaGrant)
-
-