Class WhoAmIService

java.lang.Object
com.sodius.oslc.server.services.WhoAmIService

@Path("/whoami") public class WhoAmIService extends Object
Provides the current logged-in OSLC Person.
Since:
3.1.0
  • 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.