@Path("/whoami")
public class WhoAmIService
extends Object
Provides the current logged-in OSLC Person.
- Since:
- 3.1.0
-
Constructor Summary
Constructors
-
Method Summary
Return the logged-in OSLC Person.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
WhoAmIService
public WhoAmIService()
-
Method Details
-
getLogginUser
@GET
@Produces({"application/rdf+xml","application/xml","text/xml","application/json","application/ld+json","text/turtle"})
public Response getLogginUser()
Return the logged-in OSLC Person.
- Returns:
- the corresponding person.