Reference Source
public class | source

SecurityService

Extends:

js/services/base/base_service.js~BaseService → SecurityService

Service class for security access:login, logout, renew.

Constructor Summary

Public Constructor
public

constructor(arg_svc_name: string, arg_service_settings: object, arg_context: string): nothing

Create a Security service.

Member Summary

Public Members
public

Class test flag.

Method Summary

Public Methods
public

create_consumer(): ServiceConsumer

Create a Security service consumer.

public

create_provider(arg_name: string, arg_service: Service): ServiceProvider

Create a Security service provider.

Public Constructors

public constructor(arg_svc_name: string, arg_service_settings: object, arg_context: string): nothing source

Create a Security service.

Params:

NameTypeAttributeDescription
arg_svc_name string

service name.

arg_service_settings object

service settings.

arg_context string

logging context label.

Return:

nothing

Public Members

public is_security_service: boolean source

Class test flag.

Public Methods

public create_consumer(): ServiceConsumer source

Create a Security service consumer.

Return:

ServiceConsumer

service consumer instance

public create_provider(arg_name: string, arg_service: Service): ServiceProvider source

Create a Security service provider.

Params:

NameTypeAttributeDescription
arg_name string

provider name.

arg_service Service

service instance.

Return:

ServiceProvider

service provider instance.