Package org.gluu.oxauth.service
Class SectorIdentifierService
- java.lang.Object
- 
- org.gluu.oxauth.service.SectorIdentifierService
 
- 
 @ApplicationScoped public class SectorIdentifierService extends java.lang.Object- Version:
- April 10, 2020
- Author:
- Javier Rojas Blum
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected AppConfigurationappConfiguration
 - 
Constructor SummaryConstructors Constructor Description SectorIdentifierService()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDnForSectorIdentifier(java.lang.String oxId)Build DN string for sector identifierSectorIdentifiergetSectorIdentifierById(java.lang.String oxId)Get sector identifier by oxIdjava.lang.StringgetSub(IAuthorizationGrant grant)java.lang.StringgetSub(Client client, User user, boolean isCibaGrant)
 
- 
- 
- 
Field Detail- 
appConfiguration@Inject protected AppConfiguration appConfiguration 
 
- 
 - 
Method Detail- 
getSectorIdentifierByIdpublic SectorIdentifier getSectorIdentifierById(java.lang.String oxId) Get sector identifier by oxId- Parameters:
- oxId- Sector identifier oxId
- Returns:
- Sector identifier
 
 - 
getDnForSectorIdentifierpublic java.lang.String getDnForSectorIdentifier(java.lang.String oxId) Build DN string for sector identifier- Parameters:
- oxId- Sector Identifier oxId
- Returns:
- DN string for specified sector identifier or DN for sector identifiers branch if oxId is null
- Throws:
- java.lang.Exception
 
 - 
getSubpublic java.lang.String getSub(IAuthorizationGrant grant) 
 
- 
 
-