Package org.apereo.cas.mgmt
Class LuceneSearch
- java.lang.Object
-
- org.apereo.cas.mgmt.LuceneSearch
-
@RestController("casSearchController") @RequestMapping(path="api/search", produces="application/json") public class LuceneSearch extends java.lang.ObjectClass that allows full text search of services using Apache Lucene.- Since:
- 6.0
-
-
Constructor Summary
Constructors Constructor Description LuceneSearch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<org.apereo.cas.mgmt.domain.RegisteredServiceItem>search(org.springframework.security.core.Authentication authentication, java.lang.String queryString)Searches the current state of the the accessible services to a user from a query string.
-
-
-
Method Detail
-
search
@PostMapping public java.util.List<org.apereo.cas.mgmt.domain.RegisteredServiceItem> search(org.springframework.security.core.Authentication authentication, @RequestBody java.lang.String queryString) throws SearchExceptionSearches the current state of the the accessible services to a user from a query string.- Parameters:
authentication- - the userqueryString- - the query- Returns:
- - List of RegisteredServiceItem
- Throws:
SearchException- - failed
-
-