Interface Service

  • All Superinterfaces:
    Principal, java.io.Serializable
    All Known Subinterfaces:
    WebApplicationService
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface Service
    extends Principal
    Marker interface for Services. Services are generally either remote applications utilizing CAS or applications that principals wish to gain access to. In most cases this will be some form of web application.
    Since:
    3.0.0
    • Field Detail

      • LOGGER

        static final org.slf4j.Logger LOGGER
    • Method Detail

      • setPrincipal

        default void setPrincipal​(java.lang.String principal)
        Sets the principal.
        Parameters:
        principal - the new principal