Uses of Class
io.goobi.viewer.model.security.clients.ClientApplication
Packages that use ClientApplication
Package
Description
-
Uses of ClientApplication in io.goobi.viewer.api.rest.v1.clients
Methods in io.goobi.viewer.api.rest.v1.clients that return ClientApplicationModifier and TypeMethodDescriptionList all registeredClientApplication
s.ClientApplicationsResource.setClient
(String clientIdentifier, ClientApplication update) Change properties of an existingClientApplication
.Methods in io.goobi.viewer.api.rest.v1.clients that return types with arguments of type ClientApplicationModifier and TypeMethodDescriptionClientApplicationsResource.getAllClients()
List all registeredClientApplication
s.Methods in io.goobi.viewer.api.rest.v1.clients with parameters of type ClientApplicationModifier and TypeMethodDescriptionClientApplicationsResource.setClient
(String clientIdentifier, ClientApplication update) Change properties of an existingClientApplication
. -
Uses of ClientApplication in io.goobi.viewer.dao
Methods in io.goobi.viewer.dao that return ClientApplicationModifier and TypeMethodDescriptionIDAO.getClientApplication
(long id) IDAO.getClientApplicationByClientId
(String clientId) Methods in io.goobi.viewer.dao that return types with arguments of type ClientApplicationMethods in io.goobi.viewer.dao with parameters of type ClientApplication -
Uses of ClientApplication in io.goobi.viewer.dao.impl
Methods in io.goobi.viewer.dao.impl that return ClientApplicationModifier and TypeMethodDescriptionJPADAO.getClientApplication
(long id) JPADAO.getClientApplicationByClientId
(String clientId) Methods in io.goobi.viewer.dao.impl that return types with arguments of type ClientApplicationMethods in io.goobi.viewer.dao.impl with parameters of type ClientApplication -
Uses of ClientApplication in io.goobi.viewer.managedbeans
Methods in io.goobi.viewer.managedbeans that return ClientApplicationModifier and TypeMethodDescriptionAdminClientsBean.getAllClients()
Get the internally created client representing all clients for access rights purposesAdminClientsBean.getSelectedClient()
Get the currently edited clientMethods in io.goobi.viewer.managedbeans that return types with arguments of type ClientApplicationModifier and TypeMethodDescriptionAdminClientsBean.getAllAcceptedClients()
Get a list of all clients withClientApplication.AccessStatus.GRANTED
AdminClientsBean.getAllConfiguredClients()
Get a list of all clients withClientApplication.AccessStatus.GRANTED
prClientApplication.AccessStatus.DENIED
AdminClientsBean.getConfiguredClientsModel()
Get the model used for paginated listing configured clientsAdminClientsBean.getNotConfiguredClients()
Get a list of all clients withClientApplication.AccessStatus.REQUESTED
Methods in io.goobi.viewer.managedbeans with parameters of type ClientApplicationModifier and TypeMethodDescriptionvoid
AdminClientsBean.accept
(ClientApplication client) 'Accept' a registered client by setting itsgetAccessStatus()
toClientApplication.AccessStatus.GRANTED
AdminClientsBean.delete
(ClientApplication client) Delete given client from databaseAdminClientsBean.reject
(ClientApplication client) 'Regect a registered client by callingAdminClientsBean.delete(ClientApplication)
on itvoid
AdminClientsBean.save
(ClientApplication client) Save the given client to databasevoid
AdminClientsBean.setSelectedClient
(ClientApplication selectedClient) Set the currently edited client -
Uses of ClientApplication in io.goobi.viewer.model.search
Method parameters in io.goobi.viewer.model.search with type arguments of type ClientApplicationModifier and TypeMethodDescriptionstatic String
SearchHelper.getPersonalFilterQuerySuffix
(List<LicenseType> licenseTypes, User user, String ipAddress, Optional<ClientApplication> client, String privilege) Constructs a personal search query filter suffix for the given user and IP address. -
Uses of ClientApplication in io.goobi.viewer.model.security
Methods in io.goobi.viewer.model.security that return ClientApplicationMethods in io.goobi.viewer.model.security with parameters of type ClientApplicationMethod parameters in io.goobi.viewer.model.security with type arguments of type ClientApplicationModifier and TypeMethodDescriptionstatic AccessPermission
AccessConditionUtils.checkAccessPermission
(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, Optional<ClientApplication> client, String query) Base method for checking access permissions of various types. -
Uses of ClientApplication in io.goobi.viewer.model.security.clients
Methods in io.goobi.viewer.model.security.clients that return ClientApplicationModifier and TypeMethodDescriptionClientApplicationManager.getAllClients()
Get theClientApplication
representing all clients created inClientApplicationManager.addGeneralClientApplicationToDB()
ClientApplicationManager.getAllClientsFromDatabase()
Load the "all clients" ClientApplication directly from the database, so it comes with all licensesClientApplicationManager.persistNewClient
(String clientIdentifier, jakarta.servlet.http.HttpServletRequest request) Create a newClientApplication
with the given identifier and IP of the given request and store it in the databaseMethods in io.goobi.viewer.model.security.clients that return types with arguments of type ClientApplicationModifier and TypeMethodDescriptionClientApplicationManager.getClientByClientIdentifier
(String clientIdentifier) Get the client with the givengetClientIdentifier()
from the databasestatic Optional
<ClientApplication> ClientApplicationManager.getClientFromRequest
(jakarta.servlet.http.HttpServletRequest request) Get the client stored in the given request callingClientApplicationManager.getClientFromSession(HttpSession)
on the requests session, if anystatic Optional
<ClientApplication> ClientApplicationManager.getClientFromSession
(jakarta.servlet.http.HttpSession session) Get the client stored in the given session byClientApplicationManager.registerClientInSession(ClientApplication, HttpSession)
, if anyMethods in io.goobi.viewer.model.security.clients with parameters of type ClientApplicationModifier and TypeMethodDescriptionboolean
ClientApplicationManager.isAllClients
(ClientApplication client) check if the given client is the client instance representing all clientsboolean
ClientApplicationManager.isNotAllClients
(ClientApplication client) check if the given client is the client instance representing all clientsboolean
ClientApplicationManager.registerClientInSession
(ClientApplication client, jakarta.servlet.http.HttpSession session) Store the given client in the given session to consider it for access condition checks.void
ClientApplicationManager.setAllClients
(ClientApplication allClients) Constructors in io.goobi.viewer.model.security.clients with parameters of type ClientApplication