Apache.Shiro.Authc.SimpleAccount.Merge C# (CSharp) 메소드

Merge() 공개 메소드

public Merge ( IAuthenticationInfo other ) : void
other IAuthenticationInfo
리턴 void
        public void Merge(IAuthenticationInfo other)
        {
            _authcInfo.Merge(other);

            if (other is SimpleAccount)
            {
                var account = (SimpleAccount) other;
                if (account.CredentialsExpired)
                {
                    CredentialsExpired = account.CredentialsExpired;
                }
                if (account.Locked)
                {
                    Locked = true;
                }
            }
        }