Skip to main content

%SYSTEM.Context.Security

Class %SYSTEM.Context.Security Extends %Library.SystemBase

Properties

EscalationRole

Property EscalationRole As %String(MAXLEN = 64);

EscalationTimeout

Property EscalationTimeout As %Integer;

IsCSP

Property IsCSP As %Boolean;

LoginContext

Property LoginContext As %String(MAXLEN = "") [ Private ];

InitialDevices

Property InitialDevices As %String(MAXLEN = "") [ Private ];

CurrentDevice

Property CurrentDevice As %String(MAXLEN = "") [ Private ];

IsTrigger

Property IsTrigger As %Boolean [ Private ];

BreakMode

Property BreakMode As %Boolean [ Private ];

LoginTimeout

Property LoginTimeout As %Integer;

InLoop

Property InLoop As %Boolean [ InitialExpression = 0, Private ];

Methods

%OnClose

Method %OnClose() As %Status [ Internal ]

%OnNew

Method %OnNew(init) As %Status [ Internal ]

EscalationRoleSet

Method EscalationRoleSet(val) As %Status [ Internal ]

IsCSPSet

Method IsCSPSet(val) As %Status [ Internal ]

EscalationTimeoutSet

Method EscalationTimeoutSet(val) As %Status [ Internal ]

LoginTimeoutSet

Method LoginTimeoutSet(val) As %Status [ Internal ]

SetLoginTimeout

Method SetLoginTimeout(to) [ Internal ]

IsEscalated

Method IsEscalated() As %Boolean

Escalate

Method Escalate(Role As %String, to As %Integer) [ Internal ]

ClearEscalation

Method ClearEscalation(audit As %Boolean = 1) [ Internal ]

EscalationLoop

Method EscalationLoop() As %Status [ Internal ]

CheckNSAccess

ClassMethod CheckNSAccess() As %Status [ Internal, Private ]

loopInternal

ClassMethod loopInternal() [ Internal, Private ]

getStackTrigger

ClassMethod getStackTrigger() As %ObjectHandle [ Internal, Private ]

This method returns an object which will ensure that escalation is cleared when the object is removed from the stack.

getEscalationPrompt

ClassMethod getEscalationPrompt(cmdTime) As %String [ Internal, Private ]