Exemple #1
0
 internal abstract void ExpirePassword(AuthenticablePrincipal p);
Exemple #2
0
 //
 // Internal constructor
 //
 internal AccountInfo(AuthenticablePrincipal principal)
 {
     _owningPrincipal = principal;
 }
Exemple #3
0
 internal abstract void ChangePassword(AuthenticablePrincipal p, string oldPassword, string newPassword);
Exemple #4
0
 //
 // Internal constructor
 //
 internal PasswordInfo(AuthenticablePrincipal principal)
 {
     _owningPrincipal = principal;
 }
Exemple #5
0
 /// <summary>
 /// This method sets the default user account control bits for the new principal
 /// being created in this account store.
 /// </summary>
 /// <param name="p"> Principal to set the user account control bits for </param>
 internal override void InitializeUserAccountControl(AuthenticablePrincipal p)
 {
     // In ADAM, there is no user account control property that needs to be initialized
     // so do nothing
 }
Exemple #6
0
 // methods for manipulating passwords
 internal abstract void SetPassword(AuthenticablePrincipal p, string newPassword);
Exemple #7
0
 protected static PrincipalSearchResult <AuthenticablePrincipal> FindByPasswordSetTime <T>(PrincipalContext context, DateTime time, MatchType type)
 {
     AuthenticablePrincipal.CheckFindByArgs(context, time, type, typeof(T));
     return(new PrincipalSearchResult <T>(context.QueryCtx.FindByPasswordSetTime(time, type, typeof(T))));
 }
Exemple #8
0
 static public object APGetValue(AuthenticablePrincipal ap, string name)
 {
     return(ap.GetValueForProperty(name));
 }
Exemple #9
0
 static public void APResetChanges(AuthenticablePrincipal ap)
 {
     ap.ResetAllChangeStatus();
 }
Exemple #10
0
 static public void APLoadValue(AuthenticablePrincipal ap, string name, object value)
 {
     ap.LoadValueIntoProperty(name, value);
 }
Exemple #11
0
 static public bool APGetChangeStatus(AuthenticablePrincipal ap, string name)
 {
     return(ap.GetChangeStatusForProperty(name));
 }
Exemple #12
0
 static public void APInitNested(AuthenticablePrincipal ap)
 {
     ap.LoadValueIntoProperty(PropertyNames.PwdInfoCannotChangePassword, true);
     ap.LoadValueIntoProperty(PropertyNames.AcctInfoBadLogonCount, 3);
 }
Exemple #13
0
 // Returns the set of credential types supported by this store for the specified principal.
 // Used when an application tries to access the PasswordInfo property of a newly-inserted
 // (not yet persisted) AuthenticablePrincipal, to determine whether it should be allowed.
 // Also used to implement AuthenticablePrincipal.SupportedCredentialTypes.
 internal abstract CredentialTypes SupportedCredTypes(AuthenticablePrincipal p);
Exemple #14
0
 // Returns true if AccountInfo is supported for the specified principal, false otherwise.
 // Used when an application tries to access the AccountInfo property of a newly-inserted
 // (not yet persisted) AuthenticablePrincipal, to determine whether it should be allowed.
 internal abstract bool SupportsAccounts(AuthenticablePrincipal p);
Exemple #15
0
 internal abstract void InitializeUserAccountControl(AuthenticablePrincipal p);
Exemple #16
0
 public static PrincipalSearchResult <AuthenticablePrincipal> FindByPasswordSetTime(PrincipalContext context, DateTime time, MatchType type)
 {
     return(AuthenticablePrincipal.FindByPasswordSetTime <AuthenticablePrincipal>(context, time, type));
 }
Exemple #17
0
 internal abstract bool IsLockedOut(AuthenticablePrincipal p);
Exemple #18
0
 internal abstract void UnlockAccount(AuthenticablePrincipal p);