Class NOPSecurityManager
Provides security manager implementation that does nothing and always returns fake user instance
Inheritance
System.Object
NOPSecurityManager
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Azos.dll
Syntax
public sealed class NOPSecurityManager : ApplicationComponent, ISecurityManagerImplementation, ISecurityManager, IApplicationComponent, IDisposable, IConfigurable
Constructors
NOPSecurityManager(IApplication)
Declaration
public NOPSecurityManager(IApplication app)
Parameters
Properties
ComponentLogTopic
Declaration
public override string ComponentLogTopic { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
PasswordManager
Declaration
public IPasswordManager PasswordManager { get; }
Property Value
SecurityLogLevel
Declaration
public MessageType SecurityLogLevel { get; set; }
Property Value
SecurityLogMask
Declaration
public SecurityLogMask SecurityLogMask { get; set; }
Property Value
Methods
Authenticate(AuthenticationToken)
Declaration
public User Authenticate(AuthenticationToken token)
Parameters
Returns
Authenticate(Credentials)
Declaration
public User Authenticate(Credentials credentials)
Parameters
Returns
Authenticate(User)
Declaration
public void Authenticate(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Authorize(User, Permission)
Declaration
public AccessLevel Authorize(User user, Permission permission)
Parameters
Returns
Declaration
public void Configure(IConfigSectionNode node)
Parameters
Destructor()
Declaration
protected override void Destructor()
Overrides
GetUserLogArchiveDimensions(IIdentityDescriptor)
Declaration
public IConfigSectionNode GetUserLogArchiveDimensions(IIdentityDescriptor identity)
Parameters
Returns
LogSecurityMessage(SecurityLogAction, Message, IIdentityDescriptor)
Declaration
public void LogSecurityMessage(SecurityLogAction action, Message msg, IIdentityDescriptor identity = null)
Parameters
Implements
System.IDisposable
Extension Methods