Package io.jans.configapi.service.auth
Class ClientService
- java.lang.Object
-
- io.jans.configapi.service.auth.ClientService
-
- All Implemented Interfaces:
Serializable
@ApplicationScoped public class ClientService extends Object implements Serializable
- Author:
- Mougang T.Gasmyr
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addClient(io.jans.as.common.model.registration.Client client)
boolean
contains(String clientDn)
String
generateInumForNewClient()
List<io.jans.as.common.model.registration.Client>
getAllClients()
List<io.jans.as.common.model.registration.Client>
getAllClients(int sizeLimit)
io.jans.as.model.register.ApplicationType[]
getApplicationType()
io.jans.as.common.model.registration.Client
getClientByDn(String dn)
io.jans.as.common.model.registration.Client
getClientByInum(String inum)
io.jans.orm.model.PagedResult<io.jans.as.common.model.registration.Client>
getClients(io.jans.model.SearchRequest searchRequest)
String
getDnForClient(String inum)
io.jans.as.model.crypto.signature.SignatureAlgorithm[]
getSignatureAlgorithms()
io.jans.as.model.common.SubjectType[]
getSubjectTypes()
void
removeClient(io.jans.as.common.model.registration.Client client)
List<io.jans.as.common.model.registration.Client>
searchClients(String pattern, int sizeLimit)
io.jans.as.common.model.registration.Client
setClientDefaultAttributes(io.jans.as.common.model.registration.Client client, boolean update)
void
updateClient(io.jans.as.common.model.registration.Client client)
-
-
-
Method Detail
-
contains
public boolean contains(String clientDn)
-
addClient
public void addClient(io.jans.as.common.model.registration.Client client)
-
removeClient
public void removeClient(io.jans.as.common.model.registration.Client client)
-
updateClient
public void updateClient(io.jans.as.common.model.registration.Client client)
-
getClientByInum
public io.jans.as.common.model.registration.Client getClientByInum(String inum)
-
searchClients
public List<io.jans.as.common.model.registration.Client> searchClients(String pattern, int sizeLimit)
-
getAllClients
public List<io.jans.as.common.model.registration.Client> getAllClients(int sizeLimit)
-
getAllClients
public List<io.jans.as.common.model.registration.Client> getAllClients()
-
getClients
public io.jans.orm.model.PagedResult<io.jans.as.common.model.registration.Client> getClients(io.jans.model.SearchRequest searchRequest)
-
getClientByDn
public io.jans.as.common.model.registration.Client getClientByDn(String dn)
-
getApplicationType
public io.jans.as.model.register.ApplicationType[] getApplicationType()
-
getSubjectTypes
public io.jans.as.model.common.SubjectType[] getSubjectTypes()
-
getSignatureAlgorithms
public io.jans.as.model.crypto.signature.SignatureAlgorithm[] getSignatureAlgorithms()
-
generateInumForNewClient
public String generateInumForNewClient()
-
setClientDefaultAttributes
public io.jans.as.common.model.registration.Client setClientDefaultAttributes(io.jans.as.common.model.registration.Client client, boolean update)
-
-