Uses of Class
io.goobi.viewer.model.security.clients.ClientApplication
Package
Description
-
Uses of ClientApplication in io.goobi.viewer.api.rest.v1.clients
Modifier and TypeMethodDescriptionList all registeredClientApplication
s.ClientApplicationsResource.setClient
(String clientIdentifier, ClientApplication update) Change properties of an existingClientApplication
.Modifier and TypeMethodDescriptionClientApplicationsResource.getAllClients()
List all registeredClientApplication
s.Modifier and TypeMethodDescriptionClientApplicationsResource.setClient
(String clientIdentifier, ClientApplication update) Change properties of an existingClientApplication
. -
Uses of ClientApplication in io.goobi.viewer.dao
Modifier and TypeMethodDescriptionIDAO.getClientApplication
(long id) IDAO.getClientApplicationByClientId
(String clientId) -
Uses of ClientApplication in io.goobi.viewer.dao.impl
Modifier and TypeMethodDescriptionJPADAO.getClientApplication
(long id) JPADAO.getClientApplicationByClientId
(String clientId) -
Uses of ClientApplication in io.goobi.viewer.managedbeans
Modifier and TypeMethodDescriptionAdminClientsBean.getAllClients()
Get the internally created client representing all clients for access rights purposesAdminClientsBean.getSelectedClient()
Get the currently edited clientModifier 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
Modifier 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
Modifier 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
Modifier 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
Modifier 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, javax.servlet.http.HttpServletRequest request) Create a newClientApplication
with the given identifier and IP of the given request and store it in the databaseModifier and TypeMethodDescriptionClientApplicationManager.getClientByClientIdentifier
(String clientIdentifier) Get the client with the givengetClientIdentifier()
from the databasestatic Optional<ClientApplication>
ClientApplicationManager.getClientFromRequest
(javax.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
(javax.servlet.http.HttpSession session) Get the client stored in the given session byClientApplicationManager.registerClientInSession(ClientApplication, HttpSession)
, if anyModifier 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, javax.servlet.http.HttpSession session) Store the given client in the given session to consider it for access condition checks.void
ClientApplicationManager.setAllClients
(ClientApplication allClients)