public boolean activateResetToken ( ComponentName admin ) { if ( ! passwordResetTokens . containsKey ( admin ) ) { throw new IllegalArgumentException ( "No token set for comopnent: " + admin ) ; } return componentsWithActivatedTokens . add ( admin ) ; }
Activates reset token for given admin .