C# Class Apache.Shiro.Subject.SubjectBuilder

Exibir arquivo Open project: katasource/shironet Class Usage Examples

Public Methods

Method Description
Authenticated ( bool authenticated ) : SubjectBuilder
BuildSubject ( ) : ISubject
ContextAttribute ( string attributeKey, object attributeValue ) : SubjectBuilder
Host ( string host ) : SubjectBuilder
Principals ( IPrincipalCollection principals ) : SubjectBuilder
Session ( ISession session ) : SubjectBuilder
SessionId ( object sessionId ) : SubjectBuilder
SubjectBuilder ( ) : System
SubjectBuilder ( ISecurityManager securityManager ) : System

Protected Methods

Method Description
NewSubjectContextInstance ( ) : ISubjectContext

Method Details

Authenticated() public method

public Authenticated ( bool authenticated ) : SubjectBuilder
authenticated bool
return SubjectBuilder

BuildSubject() public method

public BuildSubject ( ) : ISubject
return ISubject

ContextAttribute() public method

public ContextAttribute ( string attributeKey, object attributeValue ) : SubjectBuilder
attributeKey string
attributeValue object
return SubjectBuilder

Host() public method

public Host ( string host ) : SubjectBuilder
host string
return SubjectBuilder

NewSubjectContextInstance() protected method

protected NewSubjectContextInstance ( ) : ISubjectContext
return ISubjectContext

Principals() public method

public Principals ( IPrincipalCollection principals ) : SubjectBuilder
principals IPrincipalCollection
return SubjectBuilder

Session() public method

public Session ( ISession session ) : SubjectBuilder
session ISession
return SubjectBuilder

SessionId() public method

public SessionId ( object sessionId ) : SubjectBuilder
sessionId object
return SubjectBuilder

SubjectBuilder() public method

public SubjectBuilder ( ) : System
return System

SubjectBuilder() public method

public SubjectBuilder ( ISecurityManager securityManager ) : System
securityManager ISecurityManager
return System